Opened 9 years ago
Closed 8 years ago
#1716 closed defect (fixed)
MapBender fails to start on Xenial
Reported by: | kalxas | Owned by: | kalxas |
---|---|---|---|
Priority: | blocker | Milestone: | OSGeoLive10.0 |
Component: | OSGeoLive | Keywords: | mapbender |
Cc: | live-demo@… |
Description
From apache2 error log:
[Fri Jun 03 20:25:55.047861 2016] [:error] [pid 4331] [client 127.0.0.1:46800] PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52\nStack trace:\n#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\\Component\\Config\\Util\\XmlUtils::loadFile('/var/www/html/m...', Array)\n#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader->parseFile('/var/www/html/m...')\n#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader->load('web.xml')\n#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Owner: | changed from | to
---|
comment:3 by , 9 years ago
Like in the case of GeoMoose, error with PHP 5.6:
[Sun Jun 05 21:07:05.814909 2016] [:error] [pid 3120] [client 127.0.0.1:50348] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
In this case, Symphony complains during build time too:
PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52 PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
Link to test iso: http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build101-amd64-036a7ea.iso
comment:4 by , 9 years ago
Owner: | changed from | to
---|
- on OSGeo-Live 10.0 alpha1 the Mapbender3 database was missing
I ran the install_mapbender3.sh again on the OSGeo-Live 10.0 alpha1 again.
Afterwards Mapbender3 worked fine. Mapbender3 database was created and the application started ok.
comment:5 by , 9 years ago
Thanks Astrid for the feedback, I will look into this.
So basically MapBender3 works ok on PHP7?
comment:6 by , 9 years ago
Status: | new → assigned |
---|
I think this is now fixed with this commit:
https://git.osgeo.org/gogs/kalxas/OSGeoLive/commit/c747b8f132dd2b268c230d5492dd8f25b8cbb19a
From build log: