No announcement yet.

Mysql Error

  • Filter
  • Time
  • Show
Clear All
new posts

  • Mysql Error


    i have a member that's getting a database error when he tries to log in to our forum.

    i tried viewing his profile in AdminCP, and i as well am getting an error:

    i appreciate your help on this.


    Database error in vBulletin 3.6.8:
    Invalid SQL:
    SELECT * FROM jos_users
    WHERE LOWER(username)=
    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 'alchimiste'
    LIMIT 1' at line 2
    Error Number : 1064
    Date : Tuesday, September 4th 2007 @ 04:56:33 PM

    IP Address :
    Username :
    Classname : vB_Database

    i'm using Mysql version 4.1.20
    Last edited by Mask10; Wed 5 Sep '07, 10:26pm.

  • #2
    This shouldn't happen with the default files. Do you have any plugins that affect these areas?

    First, re-upload 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. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    If that didn't solve the problem, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, 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. Now check again.

    Do you still have the same problem?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API


    • #3
      Hi Wayne,

      Thanks for your reply,

      i just realized that the user.php file in admincp is not the default one because we are using bbpixel for joomla.

      so the user.php right now is :

      | vBulletin Board Plugin for Joomla | jvbPlugin
      | (C) 2004 -2005 BBPIXEL
      vBulletin 3.6.x Copyright 2000-2007 Jelsoft Enterprises Ltd

      is there a way to resolve this without disabling this plugin?



      • #4
        does anyone know?



        • #5
          To get official support you will need to reupload the original vB files and remove or disable your third-party add-ons. Otherwise you can try asking for help over at
          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.


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