3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
260 stars 143 forks source link

3.3.9 and 3.3.10 PHP Fatal Error launching installer.php on Ubuntu Server #1852

Closed marco-03091991 closed 4 years ago

marco-03091991 commented 4 years ago

What is the bug?

I cannot install lizmap through installer.php, I tried both version 3.3.9 and 3.3.10, launching the installer appear a PHP Fatal Error. I've tried to find out some problems in the PHP file (like different port or something like that), but I'm not so proficient in Jelix or PHP. How can I install Lizmap? Best reguards Marco

Screenshots and logs

PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/www/lizmap-web-client-3.3.9/lib/jelix/installer/jInstaller.class.php:261 Stack trace:

0 /var/www/lizmap-web-client-3.3.9/lizmap/install/installer.php(14): jInstaller->__construct()

1 {main}

thrown in /var/www/lizmap-web-client-3.3.9/lib/jelix/installer/jInstaller.class.php on line 261

Screenshot at 2020-10-06 11-28-59

Environment

rldhont commented 4 years ago

https://stackoverflow.com/questions/31206186/php-call-to-undefined-function-simplexml-load-string

Do you have installed php-xml or php7.4-xml package ?

marco-03091991 commented 4 years ago

Perfect now it's working, was my mistake thank you so much Marco