PDA

View Full Version : SQL Error...


andrew67
02-22-2002, 11:19 PM
Invalid SQL: INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,signature,adminemail,sh owemail,invisible,usertitle,joindate,cookieuser,da ysprune,lastvisit,lastactivity,usergroupid,timezon eoffset,emailnotification,receivepm,emailonpm,opti ons,birthday,maxposts,startofweek,ipaddress,pmpopu p,referrerid,nosessionhash,country,avatarid) VALUES (NULL,'testy testicals','d8578edf8458ce06fbc5bb76a58c5ca4','tes ty@testy.com','','0','http://','','','','','1','1','0','Voluntary patient','1014426730','1','-1','1014426730','1014426730','3','0','1','1','0',' 15','0','-1','1','203.164.116.136','0','0','1','Afghanistan' ,'0','0')
mysql error: Column count doesn't match value count at row 1


Help, what have I broke now.... Nobody can signup to my forum without getting that error...
I'm running vb 2.2.2, The gender, country and community bulletin hacks.. and ideas?? :)

Thanks in advance
Andrew

Scott MacVicar
02-22-2002, 11:24 PM
your missing a value at the end of the field list

there should be something else after "country,avatarid"

possibly ,gender or another hack similar to that which changed the user table

andrew67
02-22-2002, 11:42 PM
bah yup it was gender.. silly me.. :) Thanks champ :)

Scott MacVicar
02-23-2002, 09:35 AM
no bother :)