![]() |
Another SQL error...
Database error in vBulletin 2.3.4:
Invalid SQL: SELECT * FROM moderator WHERE userid= AND canviewprofile=1 mysql error: You have an error in your SQL syntax near 'AND canviewprofile=1' at line 1 mysql error number: 1064 Date: Wednesday 28th of January 2004 10:57:12 PM Script: http://www.worldofcars.nu/forum/foru...ions&userid=25 Referer: I dont know where its appearing since I recieved it in email as a report. Does any1 know ? |
Quote:
|
i dont have any mods
|
razorownz,
open moderator.php And make sure that this code exists in the moderator.php file PHP Code:
Regards, g-force2k2 |
okay and if it doesnt exist, where do i put it?
|
that line looks like this:
} elseif ($permissions[ismoderator] or $ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND canviewprofile=1")) { which exists in the moderator.php file |
razorownz,
that is the correct problem, perhaps one way to fix this problem would be to add: PHP Code:
PHP Code:
Cheers, g-force2k2 |
ive uploaded the new moderator.php with the stated changes, we'll see if any more errors occur... thanks once again
|
All times are GMT. The time now is 02:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|