|
|
main page only displaying single entry (over, and over...)
- General Posted by Michael (Tuesday November 20 2001 @ 01:01AM EST) views: 110 |
Hi,
Something happened to my phpweblog database after my service provider reinstalled a back up. For what ever reason, the stories page is only displaying one story multiple times (15) as opposed to displaying 15 of the newest pieces. I have examined the database for curropt tables, but that is fine. I don't know the table arcitecture well enough tofigure out what the problem is. Any ideas?
Thanks,
Michael
check out http://www.infoshop.org/inews/
|
Related Link
|
By Michael (Friday November 23 2001 @ 04:50PM EST)
|
Jason,
Thanks for looking into it. I located the problem. For whatever reason the SQL that is generated to populate the stories page was suffering from a type mismatch; an bug that seems to be the result of me restoring my database (as it worked fine before).
I chaged line 81 from this:
$sql .= " S.Rid > '0'";
to this:
$sql .= " S.Rid > 0";
and it now works.
Wierd!
|
[ reply | parent ]
|
|
|
|