Blank page on create_classic_poll.php due to utf8_encode() undefined function
Bonjour à tous,
Lors de la création d'un sondage simple, j'arrive sur une page blanche à l'url /create_classic_poll.php
. J'ai cette ligne d'erreur dans les logs d'apache :
PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in [...]/create_classic_poll.php:166\nStack trace:\n#0 {main}\n thrown in [...]/create_classic_poll.php on line 166, referer: [...]/create_classic_poll.php
En cherchant sur le web, je tombe sur ce post qui propose d'installer php7.0-xml
et ça fonctionne. Pourquoi ne pas ajouter ça aux dépendances ?
Versions : Debian=9.6 / Php=7.0.33 / Apache=2.4.25 / Framadate=1.1.9
Hi,
When trying to create a simple poll, I landed on a blank page on the /create_classic_poll.php
url. I get the following error in apache's logs:
PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in [...]/create_classic_poll.php:166\nStack trace:\n#0 {main}\n thrown in [...]/create_classic_poll.php on line 166, referer: [...]/create_classic_poll.php
After looking on the web, I found this post that proposes to install php7.0-xml
and it works fine. Why not adding this dependency ?
Versions : Debian=9.6 / Php=7.0.33 / Apache=2.4.25 / Framadate=1.1.9