Closed vrocheUP closed 6 years ago
Ok I just confirmed. I changed
str_replace( [''', '"'], ["'", "'"], $value
To
str_replace( [''', '"'], ["'", "'"], $value
and all my emails imported properly.
Thanks for your notice, above pr include the changes (#418)
Thanks @orthagh
Hello team, I have a strange bug with GLPI 9.1. Extract from sql-errors.log :
2016-11-09 08:51:02 [@glpi] * MySQL query error: SQL: INSERT INTO
glpi_ticketfollowups
(content
,tickets_id
,users_id
,requesttypes_id
,is_private
,date
,date_creation
,date_mod
) VALUES (\'Bonsoir,\nJe vous réponds pour vous donner la réponse à ma question secrète : xxxx,\nSi je me suis trompé, pourriez vous quand même envoyer l\'identifiant sur la boite laposte.net ? \nVous remerciant d\'avance,\nCordialement,\nA. François\n\nLe 4 novembre 2016 à 22:22, <helpdesk@univ-poitiers.fr> a écrit :\n\n \n\n\',\'2602\',\'0\',\'0\',0**,\'2016-11-09 08:51:01\',\'2016-11-09 08:51:01\',\'2016-11-09 08:51:01\')As you can see, the value of the field "is_private" is not delimited by simple quotes. There is a new line in sql-erros.log every 5 minutes (this is the time-step I choosed for cron) since #4 of november.
So I have 2 or 3 questions :
Sincerely, Valéry config_GLPI.txt