MtnDewMan
05-22-2007, 09:36 PM
I updated my vbadvanced to 3.0 today and get a database error when the news module is active. I do not get a database error when the news module is not active. The error I get is below:
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT IF(votenum >= 2, votenum, 0) AS votenum, IF(votenum >= 2 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, hasimages, showsignature, sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid) LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 9 AND postparsed.languageid = 1) LEFT JOIN sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 9 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON (sigpic.userid = post.userid) LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '4')
WHERE thread.threadid IN(25775)
ORDER BY sticky DESC,thread.dateline DESC
LIMIT 1;
MySQL Error : Column: 'hasimages' in field list is ambiguous
Error Number : 1052
Date : Tuesday, May 22nd 2007 @ 07:33:57 PM
Script : http://www.reeffrontiers.com/
Referrer : http://www.reeffrontiers.com/
IP Address : 67.183.147.136
Username : MtnDewMan
Classname : vb_database
Any ideas?
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT IF(votenum >= 2, votenum, 0) AS votenum, IF(votenum >= 2 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, hasimages, showsignature, sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid) LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 9 AND postparsed.languageid = 1) LEFT JOIN sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 9 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON (sigpic.userid = post.userid) LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '4')
WHERE thread.threadid IN(25775)
ORDER BY sticky DESC,thread.dateline DESC
LIMIT 1;
MySQL Error : Column: 'hasimages' in field list is ambiguous
Error Number : 1052
Date : Tuesday, May 22nd 2007 @ 07:33:57 PM
Script : http://www.reeffrontiers.com/
Referrer : http://www.reeffrontiers.com/
IP Address : 67.183.147.136
Username : MtnDewMan
Classname : vb_database
Any ideas?