[Mapbender-users] Problem WMS-Layer in Appliction einzubinden MB3.0.6.2

Charlotte Toma charlotte.toma at wheregroup.com
Wed Jul 26 01:31:28 PDT 2017


Hallo,
der WMS Dienst kann bei meinen Tests auch bei der Version 3.0.6.2
eingebunden werden und zeigt die Layer korrekt in der Karte an. Getestet
mit https://sandbox.mapbender3.org und https://version.mapbender3.org/3062/

Anwendung mit laufendem Dienst (Zoom to Layer nötig):
https://sandbox.mapbender3.org/application/mapbender_user_yml5

Hast du eventuell Berechtigungen in deiner test_gui Anwendung gesetzt,
sodass du als der angemeldete nutzer den Dienst nicht erreichen darfst?
Wurde der Dienst mit Angabe eines Benutzers/ Passwort in den Mapbender3
geladen?
--------------------------------------------------------------------------------------

Hello,

during my tests the WMS service can be included in version 3.0.6.2 and
displays the layers correctly in the mao. Tested with
https://sandbox.mapbender3.org and https://version.mapbender3.org/3062/

Application with running service (Zoom to Layer required):
https://sandbox.mapbender3.org/application/mapbender_user_yml5

Have you possibly set permissions in your test_gui application so that
you can not reach the service as the logged on user? Was the service
loaded into the Mapbender3 with a user / password?


-- 
Mit freundlichen Grüßen

Charlotte Toma
GIS-Consultant

***********************************************************
FOSS Academy Sommerschule 2017
Aufbau von Geodateninfrastrukturen mit Open-Source-Software
11.-15. September 2017
www.foss-academy.com/sommerschule
***********************************************************


 Charlotte Toma
 WhereGroup GmbH & Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

 Fon: +49(0)228 90 90 38 - 24
 Fax: +49(0)228 90 90 38 - 11

 charlotte.toma at wheregroup.com
 www.wheregroup.com

 Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
------------------------------- 

Am 26.07.2017 um 10:23 schrieb ivo:
> Hallo,
>
> ich habe ein Problem einen WMS
> (http://inspire.brandenburg.de/services/strassennetz.php?SERVICE=WMS&REQUEST=GetCapabilities)
> in eine Appliction einzubinden/ /I have a problem to integrate a WMS into an
> application./
>
> Beim Versuch den Dienst auszuwählen erscheint folgende Fehlermeldung/ /When
> attempting to select the service, the following error message appears/:
>
> “Oops! An Error Occurred
> The server returned a "500 Internal Server Error".
> Something is broken. Please let us know what you were doing when this error
> occurred. We will fix it as soon as possible. Sorry for any inconvenience
> caused.”
>
> In der MB-Logdatei steht/ /In the MB-Logfile is this/:
>
> [2017-07-26 10:08:16] request.INFO: Matched route
> "mapbender_manager_application_addinstance".
> {"route_parameters":{"_controller":"Mapbender\\ManagerBundle\\Controller\\ApplicationController::addInstanceAction","slug":"test_gui","layersetId":"1","sourceId":"7","_route":"mapbender_manager_application_addinstance"},"request_uri":"https://xxxxxxxxx.de/xxxx_t/app.php/manager/application/test_gui/layerset/1/source/7/add"}
> []
> [2017-07-26 10:08:16] security.DEBUG: Read existing security token from the
> session. {"key":"_security_secured_area"} []
> [2017-07-26 10:08:16] security.DEBUG: User was reloaded from a user
> provider.
> {"username":"xxxxxxxx","provider":"Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider"}
> []
> [2017-07-26 10:08:16] security.DEBUG: ACL found, permission granted. Voting
> to grant access. [] []
> [2017-07-26 10:08:16] request.CRITICAL: Uncaught PHP Exception
> Symfony\Component\Debug\Exception\FatalErrorException: "Error: Call to a
> member function getMin() on null" at
> /var/www/kd/xxxxxxxxx.de/xxxx_t/mapbender/src/Mapbender/WmsBundle/Entity/WmsLayerSource.php
> line 646 {"exception":"[object]
> (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Error:
> Call to a member function getMin() on null at
> /var/www/kd/xxxxxxxxx.de/xxxx_t/mapbender/src/Mapbender/WmsBundle/Entity/WmsLayerSource.php:646)"}
> []
> [2017-07-26 10:08:16] security.DEBUG: Stored the security token in the
> session. {"key":"_security_secured_area"} []
>
> In der Version 3.0.6.1 funktioniert es ohne Fehler/ /In version 3.0.6.1 it
> works without errors/.
>
> Thanks for helping, 
> Ivo
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-WMS-Layer-in-Appliction-einzubinden-MB3-0-6-2-tp5329264.html
> Sent from the mapbender-users mailing list archive at Nabble.com.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users



More information about the Mapbender_users mailing list