Announcement

Collapse
No announcement yet.

Database error

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Database error

    I got this today while trying to edit someone's signature:

    Invalid SQL: SELECT userid
    FROM user
    WHERE username='KeViN32285'
    AND userid <>
    mysql error: You have an error in your SQL syntax near '' at line 4

    mysql error number: 1064

    I'd like to learn how to deal with these problems by learning more about how it works. Can anyone refer me to a document/thread which discusses database errors for BEGINNERS?

    Thanks!

  • #2
    You need to upgrade your version of vBulletin to 2.2.9 or 2.3.0

    If you are already running one of those versions, let me know.

    Comment


    • #3
      Originally posted by Cary
      You need to upgrade your version of vBulletin to 2.2.9 or 2.3.0

      If you are already running one of those versions, let me know.
      I hadn't upgraded because a friend had installed some hacks for me and I didn't feel comfortable doing them myself. Would upgrading correct this problem? Thanks.

      Comment


      • #4
        It should but to be sure you should have posted the complete error message.
        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


        • #5
          Originally posted by Steve Machol
          It should but to be sure you should have posted the complete error message.
          Database error in vBulletin Control Panel 2.2.5:

          Invalid SQL: SELECT userid
          FROM user
          WHERE username='KeViN32285'
          AND userid <>
          mysql error: You have an error in your SQL syntax near '' at line 4

          mysql error number: 1064

          Date: Sunday 02nd of March 2003 11:45:19 AM
          Script: http://www.gotitans.com/goForum/goForum/admin/user.php
          Referer: http://www.gotitans.com/goForum/admi...dit&userid=891


          That's the entire message. Thanks.

          Comment


          • #6
            Yes, upgrading should fix this 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


            • #7

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎