Originariamente inviato da piero.mac
potrebbe essere anche la configurazione di mysql. Il parametro SQL-MODE per la precisione
cerca sql-mode in queste pagine:
http://dev.mysql.com/doc/refman/5.0/...r-options.html
http://dev.mysql.com/doc/refman/5.0/...-sql-mode.html
Non ci credo... Ho finalmente risolto, erano 3 giorni che ci lavoravo!
Grazie infinite![]()
![]()
Il settaggio corretto in MySQL è questo (sotto win modificare my.ini):
Questa la descrizione del parametro che è stato omesso:Codice PHP:
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
STRICT_TRANS_TABLES: If a value could not be inserted as given into a transactional table, abort the statement. For a non-transactional table, abort the statement if the value occurs in a single-row statement or the first row of a multiple-row statement. More detail is given later in this section. (Implemented in MySQL 5.0.2)
Grazie ancora,
Roberto