[Mapbender-users] Mapbender v3.0.8.4 and PHP 7.1

David Patzke david.patzke at wheregroup.com
Mon Oct 7 00:17:17 PDT 2019


Hi,

are you sure you´re on Php 7.1 in your CLI.   Mapbender .8.4 works fine 
with Php 7.1. I just tested it. Furthermore, your error message is a 
known deprecation warning in Php 7.3.
https://wiki.php.net/rfc/continue_on_switch_deprecation & 
https://github.com/doctrine/DoctrineORMModule/issues/579 .

Could you run  "php -v" in your CLI and check the output version. Your 
Webserver and your CLI do not have to share the same version of Php.

Cheers David
On 03.10.19 08:49, Maelle Vercauteren wrote:
> Hello,
>
> It seems that contrary to what is noted in the documentation, PHP 7.1 
> is also not supported
> cf.https://doc.mapbender3.org/en/installation/systemrequirements.html#php-7
>
> Indeed, the installation of mapbender (v3.0.8.3 and .4) did not 
> succeed following a non execution of the commands app / console 
> (launched from the file mapbender3).
>
> The message returned in the terminal is as follows (in red) at each 
> launching of app/console doctrine:
>
> [Symfony\Component\Debug\Exception\ContextErrorException]
>
> Warning: "continue" targeting switch is equivalent to "break". Did you 
> mean
>
> to use "continue 2"?
>
>
> And via symphony (http://localhost/mapbender3/config.php) you can see :
>
> ERROR - Uncaught PHP Exception 
> Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No 
> route found for "GET /_configurator/" (from 
> "http://localhost/mapbender3/config.php")" at 
> /var/www/mapbender3/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php 
> line 179
>
> : No route found for "GET /_configurator/" (from 
> "http://localhost/mapbender3/config.php")
>
>
>
> FYI, the same installation seems work with PHP 7.0
>
> Kinds regards,
> Maë//e
>
>
>
>
>
> -- 
> Maëlle VERCAUTEREN DRUBBEL
> Coordinatrice du stage SIG Libres ARES
>
> Département Géosciences, Environnement et Société
> Université Libre de Bruxelles
> Bureau: S.DB.6.143
> CP 130/03
> Av. F.D. Roosevelt 50
> 1050 Bruxelles
> Belgique
> Tél.: 02/650.68.14 Fax: 02/650.50.92
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
-----------------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-GIS-Schulungen
bei der www.foss-academy.com
-----------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20191007/491d3748/attachment.html>


More information about the Mapbender_users mailing list