The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 ? |
#2
|
||||
|
||||
![]() Quote:
|
#3
|
|||
|
|||
![]()
i dont have any mods
|
#4
|
|||
|
|||
![]()
razorownz,
open moderator.php And make sure that this code exists in the moderator.php file PHP Code:
Regards, g-force2k2 |
#5
|
|||
|
|||
![]()
okay and if it doesnt exist, where do i put it?
|
#6
|
|||
|
|||
![]()
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 |
#7
|
|||
|
|||
![]()
razorownz,
that is the correct problem, perhaps one way to fix this problem would be to add: PHP Code:
PHP Code:
Cheers, g-force2k2 |
#8
|
|||
|
|||
![]()
ive uploaded the new moderator.php with the stated changes, we'll see if any more errors occur... thanks once again
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|