Comment 0 for bug 1750342

Revision history for this message
ggz (grirgz-ns) wrote :

I've installed shaarli, go to the page, created an account then i got a blank page.

In /var/www/error.log i have:

[Mon Feb 19 10:10:58.625698 2018] [:error] [pid 30705] [client 127.0.0.1:51308] PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /usr/share/shaarli/index.php:541\nStack trace:\n#0 /usr/share/shaarli/index.php(1841): linkdate2locale('20110914_190000')\n#1 /usr/share/shaarli/index.php(1678): buildLinkList(Object(pageBuilder), Object(linkdb))\n#2 /usr/share/shaarli/index.php(2503): renderPage()\n#3 {main}\n thrown in /usr/share/shaarli/index.php on line 541

Searching the web, i found this webpage explaining the package was splitted
https://stackoverflow.com/questions/35701730/utf8-endecode-removed-from-php7

sudo apt-get install php-xml and restart firefox solved the problem