sniper0
01-13-2006, 12:48 AM
I've been getting a lot of DB errors on my vB bored in the past day and a half. The last hack I installed was the hide hack, so I think it mgiht be from that, but heres the error. Any help possible to fix it is much appreciated.
Database error in vBulletin 3.5.0:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount
,post.pagetext
FROM thread AS thread
WHERE thread.threadid IN (0,1947,1946,1342,1945,1944,1943,951,1230,1896,176 7,1937,1933,1922,1691,1894,1667,1895,1063,1600,175 9,41,1930,750)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Unknown table 'post' in field list
Error Number : 1109
Date : Thursday, January 12th 2006 @ 08:05:26 PM
Script : http://www.********.***/forumdisplay.php?f=3
Referrer : http://www.********.***/forumdisplay.php?f=3
IP Address : **.**.**.**
Username : Unregistered
Classname : vb_database
Database error in vBulletin 3.5.0:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount
,post.pagetext
FROM thread AS thread
WHERE thread.threadid IN (0,1947,1946,1342,1945,1944,1943,951,1230,1896,176 7,1937,1933,1922,1691,1894,1667,1895,1063,1600,175 9,41,1930,750)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Unknown table 'post' in field list
Error Number : 1109
Date : Thursday, January 12th 2006 @ 08:05:26 PM
Script : http://www.********.***/forumdisplay.php?f=3
Referrer : http://www.********.***/forumdisplay.php?f=3
IP Address : **.**.**.**
Username : Unregistered
Classname : vb_database