كود:
Database error in vBulletin 3.5.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, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, titlecolor, titlebold
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM thread AS thread
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 = 37 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
WHERE thread.threadid IN (0,401,385,73,30,353,248,290,359,361,210,236,306,316,282,76,75,283,276,261,265,402,317)
ORDER BY sticky DESC, thread.lastpost DESC;
MySQL Error : Unknown column 'titlecolor' in 'field list'
Error Number : 1054
Date : Sunday, June 4th 2006 @ 08:29:33 PM
Script : http://www..×××××..com/vb/forumdisplay.php?f=2
Referrer : http://www.×××××.com/vb/index.php
IP Address : 62.215.3.xx
Username : admin
Classname : vb_database