Onyx
Tue 15th Apr '08, 9:10pm
I received this SQL error today: I am running 1.0.4
Database error in vBulletin 3.6.9:
Invalid SQL:
SELECT blog.blogid, lastblogtextid AS blogtextid, blog_text.userid, blog_text.state, IF(blog_text.userid = 0, blog_text.username, user.username) AS username, blog.blogid, blog.title
FROM vbulletin_blog AS blog
LEFT JOIN vbulletin_blog_text AS blog_text ON (blog.lastblogtextid = blog_text.blogtextid)
LEFT JOIN vbulletin_user AS user ON (blog_text.userid = user.userid)
WHERE blog.userid =
AND blog_text.blogtextid <> blog.firstblogtextid
AND blog_text.state IN ('visible')
AND blog.state IN ('visible')
AND blog.dateline <= 1208302965
AND blog.pending = 0
ORDER BY blog.lastcomment 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 'AND blog_text.blogtextid <> blog.firstblogtextid
AND blog_text.state IN ('vis' at line 6 Error Number : 1064
Date : Tuesday, April 15th 2008 @ 05:42:46 PM
Script : http://www.dogtrickacademy.com/members/forum/blog_inlinemod.php
Referrer : http://www.dogtrickacademy.com/members/forum/blog.php?do=list&blogtype=latest
IP Address : 99.224.86.34
Username : bekah1001
Classname : vB_Database
Database error in vBulletin 3.6.9:
Invalid SQL:
SELECT blog.blogid, lastblogtextid AS blogtextid, blog_text.userid, blog_text.state, IF(blog_text.userid = 0, blog_text.username, user.username) AS username, blog.blogid, blog.title
FROM vbulletin_blog AS blog
LEFT JOIN vbulletin_blog_text AS blog_text ON (blog.lastblogtextid = blog_text.blogtextid)
LEFT JOIN vbulletin_user AS user ON (blog_text.userid = user.userid)
WHERE blog.userid =
AND blog_text.blogtextid <> blog.firstblogtextid
AND blog_text.state IN ('visible')
AND blog.state IN ('visible')
AND blog.dateline <= 1208302965
AND blog.pending = 0
ORDER BY blog.lastcomment 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 'AND blog_text.blogtextid <> blog.firstblogtextid
AND blog_text.state IN ('vis' at line 6 Error Number : 1064
Date : Tuesday, April 15th 2008 @ 05:42:46 PM
Script : http://www.dogtrickacademy.com/members/forum/blog_inlinemod.php
Referrer : http://www.dogtrickacademy.com/members/forum/blog.php?do=list&blogtype=latest
IP Address : 99.224.86.34
Username : bekah1001
Classname : vB_Database