blank page due to missing dependency to php-xml

Bug #1750342 reported by ggz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shaarli (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm on xubuntu 16.04. 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 apache solved the problem

ggz (grirgz-ns)
description: updated
description: updated
description: updated
ggz (grirgz-ns)
description: updated
tags: added: packaging xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.