كود:
Database error in vBulletin 3.7.3:
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
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 = 1 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)
WHERE thread.threadid IN (0,22,2)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Table '0lx_2532628_vb.stamps' doesn't exist
Error Number : 1146
Request Date : Wednesday, November 26th 2008 @ 09:31:08 PM
Error Date : Wednesday, November 26th 2008 @ 09:31:09 PM
Script : http://www.snoobar.vip0.0lx.net/vb/forumdisplay.php?f=2
Referrer : http://www.snoobar.vip0.0lx.net/vb/index.php
IP Address : 94.99.59.155
Username : صنوبر
Classname : vB_Database
MySQL Version : 5.0.51a-16-log
مواقع النشر (المفضلة)