Originally Posted by clearchannel
I'd like to remove this hack. I installed this hack in VB 3.06 and am now receiving database errors. How do I remove the database quary?
database error.
Code:
Database error in vBulletin 3.0.6:
Invalid SQL:
SELECT
thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid, iconpath AS threadiconpath
,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as thread
LEFT JOIN icon USING (iconid)
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = 12243)
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(70,3,23,14,16,102,103,15,20,17,10,122,13,11,9,12,21,104,25,68,55,4,19,100,27,123,5,52,99,8,121,69,29,22,124,125,120,105,117,119,108,114,118,107,109,113,116,7,110,30,54,47,111,60,65,61,66,64,62,63,72,112,90,75,85,84,86,87,93,92,48,115,101,83,91,97,98,78,79,80,81,82,95,94,96,88,51,53,49,50,28,24,18,71,26,56,73,69,29,22,124,125) Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10
mysql error: You have an error in your SQL syntax near 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10
' at line 15
mysql error number: 1064
Date: Friday 11th of February 2005 08:49:58 AM
Script: http://www.yourdomain.com/
Referer:
Username: anonymous
IP Address: xxx.x.xxx.xx
|