Dopo l'inserimento di un file elettronico, quando cerco di inserire nel commento una frase del tipo "dell'ammininistratore" o " dell'incaricato" ricevo questo errore:
Error in query: UPDATE dmdoc SET created=NOW(),downer='2',comment='dell'amministratore',wfid='0' WHERE id='6' 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 'amministratore',wfid='0' WHERE id='6'' at line 1
La mia versione di SiDocRe è la 0.8.1 installata su Linux Centos 4.2
Apache 2.0.52
MySQL 4.1.12
PHP 4.3.9
Vito Vitale
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dopo l'inserimento di un file elettronico, quando cerco di inserire nel commento una frase del tipo "dell'ammininistratore" o " dell'incaricato" ricevo questo errore:
Error in query: UPDATE dmdoc SET created=NOW(),downer='2',comment='dell'amministratore',wfid='0' WHERE id='6' 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 'amministratore',wfid='0' WHERE id='6'' at line 1
La mia versione di SiDocRe è la 0.8.1 installata su Linux Centos 4.2
Apache 2.0.52
MySQL 4.1.12
PHP 4.3.9
Vito Vitale
Il problema è l'apostrofo.
Per risolverlo è necessario impostare la seguente variabile nel file php.ini:
magic_quotes_gpc = On