Invalid SQL:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vanhalen4041
    New Member
    • Apr 2003
    • 17

    Invalid SQL:

    Invalid SQL:


    SELECT username, cancontrolpanel


    FROM user AS user


    INNER JOIN usergroup AS usergroup USING(usergroupid)


    WHERE user.userid = 0


    mysql error: You have an error in your SQL syntax near 'INNER JOIN usergroup AS usergroup USING(usergroupid)


    WHERE user.userid = 0

    ' at line 4

    mysql error number: 1064
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    What are you doing when you get this error? And please post the complete error message, including script info.
    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

    • Mike Sullivan
      Former vBulletin Developer
      • Apr 2000
      • 13327
      • 3.6.x

      #3
      I believe this is because you don't have a recent enough MySQL -- I'm guessing it's somewhere in 3.22.x. vB3 requires at least 3.23.

      If this is a shared server, you'll have to contact your host and ask them to upgrade. MySQL 3.22 has been superceded by 3.23 and more recently, 4.0.

      Comment

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