The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Some help please?
I keep getting a database error whenever I try to update a user...
Can someone tell me what is wrong with this line? PHP Code:
Also - Our member numbers jumped from "386" or thereabouts, to something like "12123134"... Could that be the cause of the error, and if so, how can I change it? Satan |
#2
|
||||
|
||||
Whats the database error you are getting?
|
#3
|
|||
|
|||
hellsatan try changing::
PHP Code:
PHP Code:
g-force2k2 |
#4
|
||||
|
||||
Thanks gforce...I shall try that
@NTLDR - If gforce hasnt fixed it, I shall post it Satan |
#5
|
|||
|
|||
Actually hellsatan the coding doesn't look right at all from my pov... replace your code ::
PHP Code:
PHP Code:
g-force2k2 |
#6
|
||||
|
||||
It didnt fix it, even with gforce's attempt...
I now get this error : Code:
Database error in vBulletin Control Panel 2.2.5: Invalid SQL: SELECT username FROM user WHERE username='9Teen90Nine' AND userid != mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 |
#7
|
|||
|
|||
Hell satan its because you have an empty $userid... the userid variable doesn't seem like its being selected... regards...
edit: what coding do you have that uses the $userid variable? g-force2k2 |
#8
|
||||
|
||||
How do you mean gforce?
It is supposed to work in the user.php from the admin file...It is just not working, and I cannot start again, because it is hacked, and I have forgotten which ones I added Satan |
#9
|
|||
|
|||
hellsatan i just looked at admin/user.php
find: PHP Code:
PHP Code:
g-force2k2 |
#10
|
||||
|
||||
Thanks...
It sorta works... Now when I try to update someone, I get : "There is already an [user] named 9Teen90Nine" Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|