PDA

View Full Version : SQL error when trying to add new style


The General
08-03-2002, 04:25 PM
When I try to ad a new style I get this error:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO replacementset VALUES (NULL,'fgdg')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Saturday 03rd of August 2002 05:56:19 PM
Script: http://www.gatewaytosigil.net/sigil/forums/admin/style.php
Referer: http://www.gatewaytosigil.net/forums/admin/style.php?action=add


Does anyone know what's wrong'?

Admin
08-03-2002, 04:43 PM
For some reason you have more than two columns in the replacementset table. Go into phpMyAdmin and reply here with the list of columns you have there.

The General
08-03-2002, 04:49 PM
<u>replacementsetid</u>

title

importreplacementsetid

Admin
08-03-2002, 04:54 PM
Drop the importreplacementsetid. It's a leftover from the importer.

The General
08-03-2002, 05:04 PM
Thanks! It worked after I deleted a similar table in templateset as well.

*big thumb*