PDA

View Full Version : Error when sending a warning


PamelaE
04-24-2005, 10:29 PM
Hi,

If I issue a warning from the users post, I get to the page to choose warning etc but when I click add warning I get an error:

Invalid SQL: insert into warnings values('','8408','9552','1114385339','dfdd','11405 14','1')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Any advice?

Thanks

sv1cec
04-25-2005, 03:39 AM
From the looks of your error, it seems that your tables haven't been upgraded from ZT's hack to this one. Please check that your warnings table has the columns described in install_warn.php.

Also, maybe you haven't uploaded all the files correctly? The error indicates too few values, to be inserted. I can see at least 4 columns missing from that insert statement. Maybe this is ZT's Warn.php you are using?