Sadie Frost
05-07-2002, 10:47 PM
Having a bit of a weird problem. When I go to the admin cp and try to change a member's username, I get this error:
Database error in vBulletin Control Panel 2.2.4:
Invalid SQL: SELECT userid FROM user WHERE username='TempesT' AND userid <>
mysql error: You have an error in your SQL syntax near '' at line 4
mysql error number: 1064
Date: Wednesday 08th of May 2002 12:17:37 AM
Script: http://www.buffybytes.com/admin/user.php
Referer: http://www.buffybytes.com/admin/user.php?action=edit&userid=782
I checked the code in admin/user.php and the code around line 4 is the same as the unhacked file. I also tried uploading the user.php from my other board (that is working fine) and I still get that error. The other strange thing is that admins seem to be able to change their own names with no problem.
I do have a heavily hacked board, but I haven't touched any code or files lately. The only thing I can think of that it could have to do with is that my host just upgraded their php version and I had to get them to put register_globals back to on. But that was last week and I'm pretty sure it's been working since that happened.
Anyone have any suggestions? Thanks! :)
Database error in vBulletin Control Panel 2.2.4:
Invalid SQL: SELECT userid FROM user WHERE username='TempesT' AND userid <>
mysql error: You have an error in your SQL syntax near '' at line 4
mysql error number: 1064
Date: Wednesday 08th of May 2002 12:17:37 AM
Script: http://www.buffybytes.com/admin/user.php
Referer: http://www.buffybytes.com/admin/user.php?action=edit&userid=782
I checked the code in admin/user.php and the code around line 4 is the same as the unhacked file. I also tried uploading the user.php from my other board (that is working fine) and I still get that error. The other strange thing is that admins seem to be able to change their own names with no problem.
I do have a heavily hacked board, but I haven't touched any code or files lately. The only thing I can think of that it could have to do with is that my host just upgraded their php version and I had to get them to put register_globals back to on. But that was last week and I'm pretty sure it's been working since that happened.
Anyone have any suggestions? Thanks! :)