Announcement

Collapse
No announcement yet.

Getting some SQL error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting some SQL error

    Database error in vBulletin 3.8.0 Release Candidate 2:

    Invalid SQL:
    SELECT threadid,title,lastpostid,lastpost,forumid,replycount,views,lastposter FROM GSthread WHERE forumid NOT IN (0,12,33,14,13,12,33,14,13,11) AND visible = 1 AND lastpostid > 0 ORDER BY lastpost DESC LIMIT;

    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 : Wednesday, January 7th 2009 @ 04:51:44 AM
    Error Date : Wednesday, January 7th 2009 @ 04:51:44 AM
    Script : http://gamingsync.com/ajax.php?do=latestposts&result=
    Referrer : http://gamingsync.com/
    IP Address : 99.254.234.122
    Username : JunkieXL
    Classname : vB_Database
    MySQL Version :
    when you go to that link it gives a database error, anyone know why?

  • #2
    Invalid SQL errors are almost always related to modified code. To troubleshoot this, the first thing you need to do is remove any third-party hacks or plugins, then see if you still have this problem.

    If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

    Next, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X