[Mapbender-users] MB 2.7.x: Can't save wms application settings

Armin Retterath armin.retterath at vermkv.rlp.de
Tue Mar 1 02:58:49 PST 2016


hi lukas,

this seems to be a problem of the server when requesting it from your mapbender
application. it is not a problem of mapbender. 

did you define a user agent like:
define("CONNECTION_USERAGENT", "Mapbender");

maybe the server need it ;-) or fake it to a browser user agent string
https://www.privacy-handbuch.de/handbuch_21e.htm

and please use wms 1.1.1 and not 1.3.0 - it will be easier if some other errors
occur later :-(

is mod-rewrite is enabled??
a2enmod rewrite

in your proxy.conf set
Allow from all instead Allow from localhost - but i'm not sure

after this restart apache2
/etc/init.d/apache2 restart
which files are in /etc/apache2/sites-available/
which files are in /etc/apache2/sites-enabled/
is the default file in both directories identical?

regards 
armin




> "lukas.bollack" <lukas.bollack at naturnetz.ch> hat am 1. März 2016 um 11:32
> geschrieben:
> 
> 
> This is the error I'm getting right now:
> 
> 2016.03.01, 05:41:55,ERROR: Javascript module not found: 
> 2016.03.01, 05:42:53,ERROR: class_wms.php: code:
> c2019e4f3a3b1caf5c6198a4343bf249
> 2016.03.01, 05:42:53,ERROR: class_wms.php: codeSpace: http://sgdnord.rlp.de
> 2016.03.01, 05:42:53,ERROR: class_wms.php: datasetid:
> http://sgdnord.rlp.de#c2019e4f3a3b1caf5c6198a4343bf249
> 2016.03.01, 05:43:11,ERROR: Undeclared entity error in line 17
> 2016.03.01, 05:43:11,ERROR: class_wms: createObjFromXML: WMS
> http://wms.zh.ch/OrthoZHWMS?SERVICE=WMS&Request=GetCapabilities&Version=1.3.0
> could not be loaded.
> 2016.03.01, 05:43:11,ERROR: class_wms: createObjFromXML: WMS <!DOCTYPE html>
> <html>
> <head>
>   <title>Error 500: Interner Serverfehler</title>
>   
>     <link rel="stylesheet" type="text/css"
> href="/lib/GbZh/css/general.css"/>
>      <link rel="stylesheet" type="text/css"
> href="apps/gb41build/resources/css/cdzh/app.css"/>
> </head>
> 
> <body>
> <div id="gbheaderzh-1056-body" class="x-panel-body zhheader
> x-panel-body-default" style="width: 1233px; left: 0px; top: 0px; height:
> 175px;"><div id="logo" role="banner">
> </img/logo.gif> 
> <div>
> <p class="identity one-line">
> <strong>Kanton Zürich</strong>  Startseite <http://www.zh.ch>  
> </p>
> </div>
> </div>
> <br/><br/><br/><br/>
> <div id="gbheaderzh-1056-clearEl" class="x-clear"
> role="presentation"></div></div> 
>  
>   <div class="error-required-box">
>     
> Fehler 500: Interner Serverfehler.
> 
>     <p>Die Anfrage hat zu einem gröberen Fehler in unserer Software
> geführt. Falls Sie überzeugt sind, dass der Fehler auf unserer
> Seite liegt,  kontaktieren Sie uns
> <http://www.are.zh.ch/internet/baudirektion/are/de/geoinformation/karten_uebersicht/GIS-Browser/gis-browser_fragen.html#a-content>
>  
> bitte.</p>
>   </div>
>   <div class="error-required-box">
>     
> Error 500: Internal Server Error.
> 
>     <p>We're sorry, but something went wrong, eventually  contact us
> <http://www.are.zh.ch/internet/baudirektion/are/de/geoinformation/karten_uebersicht/GIS-Browser/gis-browser_fragen.html#a-content>
> 
> .</p>
>   </div>
> </body>
> </html>
>  could not be loaded.
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/MB-2-7-x-Can-t-save-wms-application-settings-tp5244512p5253572.html
> Sent from the mapbender-users mailing list archive at Nabble.com.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Armin Retterath

Zentrale Stelle GDI-RP 
LVermGeo Rheinland-Pfalz

Ferdinand-Sauerbruch-Straße 15
56073 Koblenz
Telefon 0261 492-466
Telefax 0261 492-492
armin.retterath at vermkv.rlp.de
http://www.geoportal.rlp.de


More information about the Mapbender_users mailing list