كود:
Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, replycount, IF(views<=replycount, replycount+1, views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, thread.stampid, stamps.title, stamps.icon AS stampicon, stamps.color, post.pagetext AS previewbbcode, hasannuser.displaygroupid AS hasanndisplaygid, hasannuser.usergroupid AS hasannusergid, huseyinuser.displaygroupid AS huseyindisplaygid, huseyinuser.usergroupid AS huseyinusergid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 2 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN stamps AS stamps ON(thread.stampid = stamps.stampid) LEFT JOIN user AS hasannuser ON (thread.lastposter = hasannuser.username)
LEFT JOIN user AS huseyinuser ON (thread.postuserid = huseyinuser.userid)
WHERE thread.threadid IN (0,8264,8226,7825,7818,8181,8146,8170,8101,7338,7824,7604,7877,1179,7863,7636,7399,7822,6653,7432,7460,1967)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Table 'r3ood_734.stamps' doesn't exist
Error Number : 1146
Request Date : Thursday, January 15th 2009 @ 01:46:34 PM
Error Date : Thursday, January 15th 2009 @ 01:46:34 PM
Script : http://www.r3ood-njd.com/vb/forumdisplay.php?f=33
Referrer : http://www.r3ood-njd.com/vb/index.php
IP Address : ×××.×.×××.××
Username : ××××
Classname : vB_Database
MySQL Version : 5.0.67-community