diettalk
01-30-2006, 08:55 PM
I'm getting this error from only 2 of my users, who cannot view CMPS after upgrading to 2.1.0.
It's strange, only 2 users. I had one logout and she was able to view the portal, and when she logged in, she got the error again.
I've checked and made sure both news.php and latesttopics.php are new 2.1.0 files.
Database error in vBulletin 3.5.3:
Invalid SQL:
SELECT
thread.threadid, post.title, thread.replycount, postusername, postuserid,
thread.dateline AS postdateline, thread.lastposter, thread.lastpost,
IF(views<=thread.replycount, thread.replycount+1, views) AS views,
thread.forumid, post.postid, pagetext, allowsmilie
,thread.iconid AS threadiconid, iconpath AS threadiconpath
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN post_parsed AS post_parsed ON (post_parsed.postid = post.postid AND
post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND
post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
LEFT JOIN icon AS icon ON (icon.iconid = thread.iconid)
LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid =
thread.threadid AND subscribethread.userid = '2468')
WHERE thread.threadid IN(52052,51883,51628,51300,51011)
AND thread.postuserid NOT IN(,)
GROUP BY post.postid
ORDER BY thread.dateline DESC
LIMIT 5;
MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ')
GROUP BY post.postid
ORDER BY thread.dateline DESC
LIMIT 5' at line 18
Error Number : 1064
Date : Monday, January 30th 2006 @ 07:36:23 PM
It's strange, only 2 users. I had one logout and she was able to view the portal, and when she logged in, she got the error again.
I've checked and made sure both news.php and latesttopics.php are new 2.1.0 files.
Database error in vBulletin 3.5.3:
Invalid SQL:
SELECT
thread.threadid, post.title, thread.replycount, postusername, postuserid,
thread.dateline AS postdateline, thread.lastposter, thread.lastpost,
IF(views<=thread.replycount, thread.replycount+1, views) AS views,
thread.forumid, post.postid, pagetext, allowsmilie
,thread.iconid AS threadiconid, iconpath AS threadiconpath
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN post_parsed AS post_parsed ON (post_parsed.postid = post.postid AND
post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND
post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
LEFT JOIN icon AS icon ON (icon.iconid = thread.iconid)
LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid =
thread.threadid AND subscribethread.userid = '2468')
WHERE thread.threadid IN(52052,51883,51628,51300,51011)
AND thread.postuserid NOT IN(,)
GROUP BY post.postid
ORDER BY thread.dateline DESC
LIMIT 5;
MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ')
GROUP BY post.postid
ORDER BY thread.dateline DESC
LIMIT 5' at line 18
Error Number : 1064
Date : Monday, January 30th 2006 @ 07:36:23 PM