Database error in vBulletin 4.0.2:
Invalid SQL:
SELECT
IF(votenum >= 4, votenum, 0) AS votenum,
IF(votenum >= 4 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.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 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)
WHERE thread.threadid IN (0,293019,293005,293023,292959,293030,293029,293025,293024,293012,292388,293020,293015,291 245,292996,290916,293014,293013,293011,293003,293007,293001,290384,292997,292985,292980,29 2977,292975,292974,292969,252175,287750)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Saturday, August 6th 2011 @ 07:02:56 PM
Error Date : Saturday, August 6th 2011 @ 07:06:49 PM
Script : http://wwwxxxxxxx
Referrer :
IP Address : 69.xxxxxxxx
Username : Admin
Classname : vB_Database
MySQL Version :
Invalid SQL:
SELECT
IF(votenum >= 4, votenum, 0) AS votenum,
IF(votenum >= 4 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.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 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)
WHERE thread.threadid IN (0,293019,293005,293023,292959,293030,293029,293025,293024,293012,292388,293020,293015,291 245,292996,290916,293014,293013,293011,293003,293007,293001,290384,292997,292985,292980,29 2977,292975,292974,292969,252175,287750)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Saturday, August 6th 2011 @ 07:02:56 PM
Error Date : Saturday, August 6th 2011 @ 07:06:49 PM
Script : http://wwwxxxxxxx
Referrer :
IP Address : 69.xxxxxxxx
Username : Admin
Classname : vB_Database
MySQL Version :
Comment