mysql warning table wizard

2 contenuti / 0 new
Ultimo contenuto
mysql warning table wizard

Salve a tutti drupalisti..
mi trovo a importare dati in Drupal tramite il modulo "Table Wizard" e quando faccio la richiesta di importare la tabella ottengo:

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'maxvalue) VALUES (7, 'id', 0, 1, 1, 0, 0, 0, 'serial', 1, 4)' at line 1 query: INSERT INTO tw_columns (twtid, colname, weight, primarykey, availablefk, secure, ignorecol, isempty, coltype, minvalue, maxvalue) VALUES (7, 'id', 0, 1, 1, 0, 0, 0, 'serial', 1, 4) in /Applications/MAMP/htdocs/drupal-6.20/includes/common.inc on line 3538.

che succede? tutti i campi text sono visualizzati correttamente mentre i campi numerici (INT) come ad esempio la colonna "id", la primary key, non ci sono..Qualche idea?

Thanks

im2sm4r74u wrote:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'maxvalue) VALUES (7, 'id', 0, 1, 1, 0, 0, 0, 'serial', 1, 4)' at line 1 query: INSERT INTO tw_columns (twtid, colname, weight, primarykey, availablefk, secure, ignorecol, isempty, coltype, minvalue, maxvalue) VALUES (7, 'id', 0, 1, 1, 0, 0, 0, 'serial', 1, 4) in /Applications/MAMP/htdocs/drupal-6.20/includes/common.inc on line 3538....

Così a prima vista sembrerebbe che manchi un apice (') dopo "'maxvalue", un errore di sintassi in parole povere.
Prova a verificare quella. Ciao ciao.