The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I get this error when i try to add a user from the admin CP
Database error in vBulletin Control Panel: Invalid SQL: INSERT INTO user (userid,usergroupid,username,password,email,stylei d,parentemail,coppauser,homepage,icq,aim,yahoo,sig nature,adminemail,showemail,invisible,usertitle,cu stomtitle,joindate,cookieuser,daysprune,lastvisit, lastactivity,lastpost,posts,timezoneoffset,emailno tification,receivepm,emailonpm,ipaddress,pmpopup,o ptions,birthday) VALUES (NULL,'2','THIS WAS THE USERS NAME','THEIR PASSWORD WAS HERE','THEIR EMAIL WAS HERE','1','','0','http://www.','','','','','1','0','0','','0',1033167780,'1 ','-1',1033167780,1033167780,1033167780,'0','0','1','1 ','0','','','1','15','birthday')
mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Friday 27th of September 2002 05:03:00 PM Script: /forumz/admin/user.php Referer: http://www.theforumz.com/forumz/admi...php?action=add Can somebody please help me troubleshoot this problem? I kinda need this function, but I haven't used it in a long time if ever, but now it doesn't work. It could have been any hack out of 60+ hacks. Any ideas? |
#2
|
||||
|
||||
try to copy the add user function out of an original file and replace the hacked one in your user.php
|
#3
|
||||
|
||||
What exactly does the function file do? What will happen if I replace it with my original? Is this what you meant?
|
#4
|
||||
|
||||
what will happen?
it'll work you surely have made a mistake while hacking user.php so you have to replace it with original parts and it'll work again |
#5
|
||||
|
||||
I tried replacing the whole file and I got the same error. One of the times I replaced it with an older version and it gave some error about line 14 in global.php
What else can I try? |
#6
|
||||
|
||||
You shouldn't get any errors in global.php if only the query is wrong, check that you have the right number of options in the first row (the one with the names) and the second row (the one with the data)
|
#7
|
||||
|
||||
Quote:
When it comes to php I'm about as smart as this guy here -> :banana: |
#8
|
||||
|
||||
What error are you getting in global.php that you said you had? The problem should only be within user.php, can you edit users OK or do you get a DB error then too?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|