PDA

View Full Version : Database errors all the time :(


QiQme
08-19-2002, 08:37 AM
Hi,

Please somebody help me.

Suddenly i have database errors all the time when i want to update memberinfo through the admininterface.

Example :

I wanted to change a registred user to Moderator but got the following error :

Database error in vBulletin Control Panel 2.2.5:

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

mysql error number: 1064

Date: Monday 19th of August 2002 11:26:26 AM

This happens everytime i want to update memberinfo.

How can i fix this ?
I'm not very familiar with databases and php.

Lesane
08-19-2002, 09:40 AM
You need to upgrade to Vbulletin 2.2.6 to fix this problem.

CJi
08-19-2002, 04:41 PM
No...

Nothing quite so drastic. Just take the 2.2.6 db_mysql.php file, it'll fix the problem. This error is most likely caused because your webhost upgraded PHP to 4.2.x.