Database error in vBulletin 4.0.0: Invalid SQL: SELECT thread.threadid, thread.title FROM thread AS thread WHERE forumid = 32 AND visible = 1 AND open 10 AND lastpost > ORDER BY lastpost LIMIT 1; 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 'ORDER BY lastpost LIMIT 1' at line 11 I've been getting these emails with regularity ever since my upgrade to 4.0. I need to know the value that is missing. AND lastpost > (What value goes here?)
Announcement
Collapse
No announcement yet.
vBulletin Database Error - MySQL Syntax Missing
Collapse
X
-
Originally posted by Paul M View PostYou need to post the whole error message as it shows what script etc was being run.
Comment
-
Code:Database error in vBulletin 4.0.0: Invalid SQL: SELECT thread.threadid, thread.title FROM thread AS thread WHERE forumid = 12 AND visible = 1 AND open <> 10 AND lastpost > ORDER BY lastpost LIMIT 1; 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 'ORDER BY lastpost LIMIT 1' at line 11 Error Number : 1064 Request Date : Tuesday, January 12th 2010 @ 04:36:33 PM Error Date : Tuesday, January 12th 2010 @ 04:36:33 PM Script : http://www.texasguntalk.com/forums/gear-accessories-sponsored-gun-works/11774-new-texas-holster-maker-next-thread.html Referrer : IP Address : 87.250.xxx.xxx Username : Unregistered Classname : vB_Database MySQL Version :
Comment
-
I get the same - 4.0.1
Code:Database error in vBulletin 4.0.1: Invalid SQL: SELECT thread.threadid, thread.title FROM vb3_thread AS thread WHERE forumid = 61 AND visible = 1 AND open <> 10 AND lastpost > ORDER BY lastpost LIMIT 1; 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 'ORDER BY lastpost LIMIT 1' at line 11 Error Number : 1064 Request Date : Saturday, January 16th 2010 @ 09:16:52 AM Error Date : Saturday, January 16th 2010 @ 09:16:52 AM Script : [URL]http://gamers-underground.com/clan-gu/32310-star-trek-online-beta-character-contact-list-next-thread.html[/URL] Referrer : [URL]http://gamers-underground.com/clan-gu/32310-star-trek-online-beta-character-contact-list.html[/URL] IP Address : x.x.x.x Username : Unregistered Classname : vB_Database MySQL Version :
Comment
-
is it same error, i got this error while upgrading
Database error in vBulletin 3.8.4:
Code:Invalid SQL: UPDATE user SET options = options |; 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 '' at line 1 Error Number : 1064 Request Date : Friday, January 15th 2010 @ 06:03:23 PM Error Date : Friday, January 15th 2010 @ 06:03:23 PM Script : [URL]http://www.mysite.com/testsuite/install/upgrade_400a1.php?step=5[/URL] Referrer : [URL]http://www.mysite.com/testsuite/install/upgrade_400a1.php?step=4[/URL] IP Address : 67.172.17.56 Username : Classname : vB_Database MySQL Version : 5.0.81-community-log
Comment
-
I've a similar error, but upon an attempt to download a file from within a forum thread. Please see the bug report here: http://www.vbulletin.com/forum/proje...?issueid=35344
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment