The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
thanks alot Logician for replying. I have to tell you that I'm so bad in MYSQL and I'm afraid if I touch anything I will miss it up.
in this reply, I included most of the tables that have to do with users from phpmyadmin. and if you can point for me what you were talking about. I hope you'll catch the error and makes it easy for me ====================== Database alkhobar_vb - table user running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action userid int(10) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext usergroupid smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext username varchar(50) No Change Drop Primary Index Unique Fulltext password varchar(50) No Change Drop Primary Index Unique Fulltext email varchar(50) No Change Drop Primary Index Unique Fulltext styleid smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext parentemail varchar(50) No Change Drop Primary Index Unique Fulltext coppauser smallint(6) No 0 Change Drop Primary Index Unique Fulltext homepage varchar(100) No Change Drop Primary Index Unique Fulltext icq varchar(20) No Change Drop Primary Index Unique Fulltext aim varchar(20) No Change Drop Primary Index Unique Fulltext yahoo varchar(20) No Change Drop Primary Index Unique Fulltext signature mediumtext No Change Drop Primary Index Unique Fulltext adminemail smallint(6) No 0 Change Drop Primary Index Unique Fulltext showemail smallint(6) No 0 Change Drop Primary Index Unique Fulltext invisible smallint(6) No 0 Change Drop Primary Index Unique Fulltext usertitle varchar(250) No Change Drop Primary Index Unique Fulltext customtitle smallint(6) No 0 Change Drop Primary Index Unique Fulltext joindate int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext cookieuser smallint(6) No 0 Change Drop Primary Index Unique Fulltext daysprune smallint(6) No 0 Change Drop Primary Index Unique Fulltext lastvisit int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext lastactivity int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext lastpost int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext posts smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext timezoneoffset varchar(4) No Change Drop Primary Index Unique Fulltext emailnotification smallint(6) No 0 Change Drop Primary Index Unique Fulltext buddylist mediumtext No Change Drop Primary Index Unique Fulltext ignorelist mediumtext No Change Drop Primary Index Unique Fulltext pmfolders mediumtext No Change Drop Primary Index Unique Fulltext receivepm smallint(6) No 0 Change Drop Primary Index Unique Fulltext emailonpm smallint(6) No 0 Change Drop Primary Index Unique Fulltext pmpopup smallint(6) No 0 Change Drop Primary Index Unique Fulltext avatarid smallint(6) No 0 Change Drop Primary Index Unique Fulltext options smallint(6) No 15 Change Drop Primary Index Unique Fulltext birthday date No 0000-00-00 Change Drop Primary Index Unique Fulltext maxposts smallint(6) No -1 Change Drop Primary Index Unique Fulltext startofweek smallint(6) No 1 Change Drop Primary Index Unique Fulltext ipaddress varchar(20) No Change Drop Primary Index Unique Fulltext referrerid int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext nosessionhash smallint(6) No 0 Change Drop Primary Index Unique Fulltext inforum smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext receivebulletin smallint(5) UNSIGNED No 1 Change Drop Primary Index Unique Fulltext award tinytext No Change Drop Primary Index Unique Fulltext ======================== Database alkhobar_vb - table useractivation running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action useractivationid int(10) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext userid int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext dateline int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext activationid char(20) No Change Drop Primary Index Unique Fulltext type smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext ========================== Database alkhobar_vb - table useraward running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action id smallint(5) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext awardsid smallint(5) No 0 Change Drop Primary Index Unique Fulltext userid smallint(5) No 0 Change Drop Primary Index Unique Fulltext name varchar(60) No Change Drop Primary Index Unique Fulltext url varchar(100) No Change Drop Primary Index Unique Fulltext aw smallint(4) No 0 Change Drop Primary Index Unique Fulltext =========================== Database alkhobar_vb - table userfield running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action userid int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext field1 char(250) No Change Drop Primary Index Unique Fulltext field2 char(250) No Change Drop Primary Index Unique Fulltext field3 char(250) No Change Drop Primary Index Unique Fulltext field4 char(250) No Change Drop Primary Index Unique Fulltext field5 char(250) No Change Drop Primary Index Unique Fulltext =========================== Database alkhobar_vb - table usergroup running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action usergroupid smallint(5) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext title char(100) No Change Drop Primary Index Unique Fulltext usertitle char(100) No Change Drop Primary Index Unique Fulltext cancontrolpanel smallint(6) No 0 Change Drop Primary Index Unique Fulltext canmodifyprofile smallint(6) No 0 Change Drop Primary Index Unique Fulltext canviewmembers smallint(6) No 0 Change Drop Primary Index Unique Fulltext canview smallint(6) No 0 Change Drop Primary Index Unique Fulltext cansearch smallint(6) No 0 Change Drop Primary Index Unique Fulltext canemail smallint(6) No 0 Change Drop Primary Index Unique Fulltext canpostnew smallint(6) No 0 Change Drop Primary Index Unique Fulltext canmove smallint(6) No 0 Change Drop Primary Index Unique Fulltext canopenclose smallint(6) No 0 Change Drop Primary Index Unique Fulltext candeletethread smallint(6) No 0 Change Drop Primary Index Unique Fulltext canreplyown smallint(6) No 0 Change Drop Primary Index Unique Fulltext canreplyothers smallint(6) No 0 Change Drop Primary Index Unique Fulltext canviewothers smallint(6) No 0 Change Drop Primary Index Unique Fulltext caneditpost smallint(6) No 0 Change Drop Primary Index Unique Fulltext candeletepost smallint(6) No 0 Change Drop Primary Index Unique Fulltext canusepm smallint(6) No 0 Change Drop Primary Index Unique Fulltext canpostpoll smallint(6) No 0 Change Drop Primary Index Unique Fulltext canvote smallint(6) No 0 Change Drop Primary Index Unique Fulltext canpostattachment smallint(6) No 0 Change Drop Primary Index Unique Fulltext canpublicevent smallint(6) No 0 Change Drop Primary Index Unique Fulltext canpublicedit smallint(6) No 0 Change Drop Primary Index Unique Fulltext canthreadrate smallint(6) No 1 Change Drop Primary Index Unique Fulltext maxbuddypm smallint(6) UNSIGNED No 5 Change Drop Primary Index Unique Fulltext maxforwardpm smallint(6) UNSIGNED No 5 Change Drop Primary Index Unique Fulltext cantrackpm smallint(6) No 1 Change Drop Primary Index Unique Fulltext candenypmreceipts smallint(6) No 1 Change Drop Primary Index Unique Fulltext ismoderator smallint(6) No 0 Change Drop Primary Index Unique Fulltext canwhosonline smallint(6) No 1 Change Drop Primary Index Unique Fulltext canwhosonlineip smallint(6) No 0 Change Drop Primary Index Unique Fulltext showgroup smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext cangetattachment smallint(6) No 1 Change Drop Primary Index Unique Fulltext ============================== Database alkhobar_vb - table usertitle running on localhost [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] Field Type Attributes Null Default Extra Action usertitleid smallint(5) UNSIGNED No auto_increment Change Drop Primary Index Unique Fulltext minposts smallint(5) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext title char(250) No Change Drop Primary Index Unique Fulltext ============================== I know this looks funny but it's more safe for me this way . best regards |
#12
|
||||
|
||||
Look at your query:
INSERT INTO user (userid,usergroupid,........) VALUES (NULL,'2',....) With this query you command MYSQL to insert to user table: for userid field VALUE null, for usergroupid field VALUE 2 etc. etc. Now count the fields between the first ()s. (They are your fields) and then count the values between second ()s, (They are your values to insert into these fields), they simply dont match. You either miss a field name or value. If you are applying a hack, this query is wrong so it means that you didnt apply it correctly. If you formed the query by yourself it either means you added a field to an existing query but you didnt add its value OR you added a value without mentioning its field. You have to check them one by one and see which value or field is missing or extra. Your table structure has nothing to do with this error. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|