![]() |
here is the error
Database error in vBulletin 2.2.0: Invalid SQL: INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,yahoo,signature,admin email,showemail,invisible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotification,receivepm,emailo npm,options,birthday,maxposts,startofweek,ipaddres s,pmpopup,referrerid,nosessionhash,country) VALUES (NULL,'pb8','shazbott','pb8@mail.ocis.net','11','' ,'0','http://','','','','','1','1','0','Newbie','1006585776','1 ','-1','1006585776','1006585776','2','0','1','1','0',' 15','0','-1','1','24.196.119.204','0','0','1','United%20Stat es','0') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Saturday 24th of November 2001 02:09:36 AM Script: http://www.partylounge.net/tof/tof/register.php Referer: http://www.partylounge.net/tof/register.php this is just an example...... |
ok i think i fixed it
in my register.php i had this $DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield." parentemail,coppauser,homepage ,icq,aim,yahoo,signature,adminemail,showemail,invi sible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm,options,birthday,maxposts, startofweek,ipaddress,pmpopup, referrerid,nosessionhash,country) VALUES (NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes($password)."', '".addslashes(htmlspecialchars($email))."',".$news tyleval."'".addslashes(htmlspe cialchars($parentemail))."','$coppauser','".addsla shes(htmlspecialchars($homepag e))."','".addslashes(htmlspecialchars($icq))."','" .addslashes(htmlspecialchars($ aim))."','".addslashes(htmlspecialchars($yahoo))." ','".addslashes($signature)."' ,'$adminemail','$showemail','$invisible','".addsla shes($usertitle)."','".time(). "','$cookieuser','".addslashes($prunedays)."','".t ime()."','".time()."','$newuse rgroupid','".addslashes($timezoneoffset)."','$emai lnotification','$receivepm','$ emailonpm','$options','".addslashes($birthday)."', '".addslashes($umaxposts)."',' ".addslashes($startofweek)."','".addslashes($ipadd ress)."','$pmpopup','".addslas hes($testreferrerid['userid'])."','$nosessionhash','".addslashes($country)."',' $gender')",); and i replaced it so it looks like this $DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield." parentemail,coppauser,homepage ,icq,aim,yahoo,signature,adminemail,showemail,invi sible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm,options,birthday,maxposts, startofweek,ipaddress,pmpopup, referrerid,nosessionhash,country) VALUES (NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes($password)."', '".addslashes(htmlspecialchars($email))."',".$news tyleval."'".addslashes(htmlspe cialchars($parentemail))."','$coppauser','".addsla shes(htmlspecialchars($homepag e))."','".addslashes(htmlspecialchars($icq))."','" .addslashes(htmlspecialchars($ aim))."','".addslashes(htmlspecialchars($yahoo))." ','".addslashes($signature)."' ,'$adminemail','$showemail','$invisible','".addsla shes($usertitle)."','".time(). "','$cookieuser','".addslashes($prunedays)."','".t ime()."','".time()."','$newuse rgroupid','".addslashes($timezoneoffset)."','$emai lnotification','$receivepm','$ emailonpm','$options','".addslashes($birthday)."', '".addslashes($umaxposts)."',' ".addslashes($startofweek)."','".addslashes($ipadd ress)."','$pmpopup','".addslas hes($testreferrerid['userid'])."','$nosessionhash','$gender')",'".addslashes($c ountry)."'); and that seemed to work......but does anyone see any errors in there?? |
All times are GMT. The time now is 09:24 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:
|