![]() |
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 |
Whats the database error you are getting?
|
hellsatan try changing::
PHP Code:
PHP Code:
g-force2k2 |
Thanks gforce...I shall try that;)
@NTLDR - If gforce hasnt fixed it, I shall post it;) Satan |
Actually hellsatan the coding doesn't look right at all from my pov... replace your code ::
PHP Code:
PHP Code:
g-force2k2 |
It didnt fix it, even with gforce's attempt...
I now get this error : Code:
Database error in vBulletin Control Panel 2.2.5: |
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 |
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 |
hellsatan i just looked at admin/user.php
find: PHP Code:
PHP Code:
g-force2k2 |
Thanks...
It sorta works... Now when I try to update someone, I get : "There is already an [user] named 9Teen90Nine" Satan |
hellsatan for that one you have to add...
PHP Code:
g-force2k2 |
this is a common bug.. i had this same problem a while ago....
|
Quote:
g-force2k2 |
Ok...
I did that... It still doesnt work... What it appears to be doing is showing no userid... Im confused... Satan |
my bad hellsatan... try this code... regards...
PHP Code:
PHP Code:
g-force2k2 |
1 Attachment(s)
No...Neither of them work:(
I just get this error now...:( Satan |
hellsatan this code doesn't work?
PHP Code:
g-force2k2 |
Aha...
I have WHERE in place of AND;) Satan |
Ok...
Now I get this again :( Quote:
Satan |
hmm... and you're trying to update the user yes? regards...
Edit :: Actually make the $userid and change it to $user['userid'] see if that works now :) g-force2k2 |
I get this :
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/hsphere/local/home/madness/madnessforum.com/vb/admin/user.php on line 325 Satan |
Probably a missing colon at the end of that line?
|
Yeah make sure it looks like this ;)
PHP Code:
g-force2k2 |
Thanke Schon, mais il ne marche pas:(:cry:
Quote:
|
well then it has to be $userid variable but why it isn't working i am not really sure... you could send me your admin/user.php and i can debug it for you if you like... regards...
g-force2k2 |
Ok:)
I shall PM you for your email address;) Satan |
All times are GMT. The time now is 03:32 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:
|