Announcement

Collapse
No announcement yet.

Database error in vBulletin

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

  • Database error in vBulletin

    We recently got the error as listed below. We can get to a cryptic admincp page, but can't login. I assume it has something to do with the install script. No one has accessed the admin section for months. And someone else is hosting this for us, so I'll have to direct him based on your advise. Please help.
    Thanks,
    John


    We have:
    vBulletin 3.0.0
    PHP 4.4.5 with Suhosin-Patch 0.9.6
    mySQL Server version: 4.1.22

    Database error in vBulletin :

    Invalid SQL:
    SELECT * FROM style
    WHERE (styleid = 0 AND userselect = 1)
    OR styleid =
    ORDER BY styleid ASC
    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 styleid ASC
    LIMIT 1' at line 4

    mysql error number: 1064

  • #2
    That's a very old version of vB. It may not be compatible with those versions og PHP and MySQL as well as suhosin. I suggest you upgrade.
    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