CJ - Twitch Posted January 23, 2010 Posted January 23, 2010 When i attack some one I get this error QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO events VALUES('',4,UNIX_TIMESTAMP(),0,'Twitch mugged you and stole $0.') What is this? I also get this on many other things like sending money. Help would be appreciated. Thank you, CJ Quote
AlabamaHit Posted January 23, 2010 Posted January 23, 2010 Not enough information provided to help you. There is obviously something screwed with a query. But without a snippet of the code where the error is we can't help. Quote
AlabamaHit Posted January 23, 2010 Posted January 23, 2010 It don't matter if it is code off of google. lol. We can NOT help without seeing the query in error. it would be the same as me asking your. What color shirt do i have on? lol Quote
AlabamaHit Posted January 23, 2010 Posted January 23, 2010 Default one works. Only thing If you have not edited the code is the Users name doing the attacking. Does it have quotes in it? or something like that? Quote
Uridium Posted January 24, 2010 Posted January 24, 2010 goto your PHPMYADMIN and count the fields for EVENTS they should match those your trying to INSERT nito if they dont you will need to either remove/add a field on PHPMYADMIN or edit the php file to reflect to the amount of fields on your EVENTS Quote
CJ - Twitch Posted January 24, 2010 Author Posted January 24, 2010 Thank you guys I fixed it :) I needed to delete a field that I had from an old mod ;) Quote
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.