CHAMAVELI Posted August 28, 2008 Share Posted August 28, 2008 Hey guys I've just been fiddeling around with a mod for my gangs, but I cannot create a gang for some reason now. i havnt changed anything in the DB or the creategang.php file and I don't know what the problem is. I could make gangs before but now it just won't work. I get this error: QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO gangs VALUES('','test','test','','',0,0,100,3,3,5,0,0,'') Quote Link to comment Share on other sites More sharing options...
Tonka Posted August 28, 2008 Share Posted August 28, 2008 Re: Big gang problem, Cannot create you had to have changed either creategang or the db, have you added any gang mods? Quote Link to comment Share on other sites More sharing options...
CHAMAVELI Posted August 28, 2008 Author Share Posted August 28, 2008 Re: Big gang problem, Cannot create The only mod I added was my own gang image mod, but I don't think that has anything to do with creating a gang. Quote Link to comment Share on other sites More sharing options...
Tonka Posted August 28, 2008 Share Posted August 28, 2008 Re: Big gang problem, Cannot create if you added an extra column to you gang table that would be your problem, this should fix it INSERT INTO gangs VALUES('','test','test','','',0,0,100,3,3,5,0,0,'','') Quote Link to comment Share on other sites More sharing options...
radio_active Posted August 29, 2008 Share Posted August 29, 2008 Re: Big gang problem, Cannot create Yes, its very simple fix, you have added a script probably like gang pics or something like that, in the create gang query, you have to add another field as tonka implied. Which is the ,'' at the end before the ) and that will fix it! Probably Quote Link to comment Share on other sites More sharing options...
CHAMAVELI Posted August 29, 2008 Author Share Posted August 29, 2008 Re: Big gang problem, Cannot create Thanks for that guys. Im so stupid that I didn't try this before. Thanks again. Quote Link to comment Share on other sites More sharing options...
.: Reaper :. Posted March 22, 2009 Share Posted March 22, 2009 Re: Big gang problem, Cannot create Yeh thanks i had same problem and fixed it by adding a ,'' into the file creategang.php thank you loads otherwise i would of been stck on this for ages Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.