Artifacts Associated With Ticket 0750310f08
Ticket change [65913add6e] (rid 3941) by sylvain.philip on 2015-09-06 18:30:36:
- foundin initialized to: "0.7.1"
- icomment:
Quand Garradin tourne sur un hébergement mutualisé 1&1, l'application crashe lorsq'une page du WIKI est appelée (erreur 500). Le problème, c'est qu'aucune erreur n'est récupérable. En déboguant le code, j'ai pu constater que c'est la fonction transliterator_transliterate() dans SkrivLite.php qui provoque ce crash. Pour avoir un rapport d'erreur, il faudrait placer ini_set('intl.use_exceptions', 1) avant l'appel de cette fonction. Ce que j'ai fait. Ainsi, l'erreur que j'ai récupérée est : unable to open ICU transliterator with id "Any-Latin; Latin-ASCII" Cela semble signifié que le transliterator n'est pas installé. Il faudrait donc pouvoir gérer ce cas de figure au niveau du code dans le genre : try { $text = transliterator_transliterate('Any-Latin; Latin-ASCII', $text); } catch (Exception $e) { // appel fonction de remplacement }
- login: "sylvain.philip"
- mimetype: "text/x-fossil-plain"
- private_contact initialized to: "0ab4eb90a3c99fe28c3af053314bbaf7dfc8572f"
- severity initialized to: "Critical"
- status initialized to: "Open"
- title initialized to: "transliterator_transliterate() crash sur 1&1"
- type initialized to: "Code_Defect"
Ticket change [ac7f30c611] (rid 3952) by bohwaz on 2015-09-09 05:00:47:
- icomment:
Corrigé dans https://fossil.kd2.org/kd2fw/info/97c8ea4c34a1e1278fc098deb2fff73970b215cc Merci.
- login: "bohwaz"
- mimetype: "text/x-fossil-plain"
- priority changed to: "Immediate"
- resolution changed to: "Open"
- icomment:
Ticket change [33efb44025] (rid 3976) by bohwaz on 2015-12-09 10:38:20:
- login: "bohwaz"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Fixed"