[Mapbender-users] Problem with wms in a mapbender copy

Armin Retterath armin.retterath at gmail.com
Tue Aug 20 07:14:51 PDT 2013


hello charles,

i think it is a configuration problem. i think you use the 2.7.3 version.
please change the output of class_connector.php (
http://trac.osgeo.org/mapbender/browser/tags/2.7.3/http/classes/class_connector.php)
line 334 to
$e = new mb_exception("class_connector.php: CURL give back: ".$file);
then the return of the getcapabilities will be shown in the error log.
with an open shell and a
tail -f  /var/www/mapbender/log/mb_error_2013_08_20.log
you will see if really a capabilities document is returned when you want to
update the service. maybe it is a configuration problem of your proxy - if
you have one. check the mapbender.conf (use curl there!).

i think that the way mapbender try to access the service is another than it
was on the old server before ;-) .


regards
armin


2013/8/20 cnievas-npm at adinet.com.uy <cnievas-npm at adinet.com.uy>

> Hi Verena, thak you very much for your response. The log of mapbender tell
> me
> (but when i request
> http://xxx.xx.xx.xx/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
>  by  the web explorer it look fine):
>
> ERROR: connector: unable to load:
> http://xxx.xx.xx.xx/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
>
> 2013.08.19, 10:56:39,ERROR: connector: unable to load:
> http://xxx.xx.xx.xx/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
>
> 2013.08.19, 10:56:39,ERROR: Error while executing prepared statement in
> /var/www/mapbender/http/php/mod_updateWMS.php:
>  Sql: UPDATE wms SET wms_version = $1 ,wms_getcapabilities  = $2
> ,wms_getmap
> = $3 ,wms_getfeatureinfo  = $4 ,wms_getlegendurl  = $5
> ,wms_getcapabilities_doc
> = $6 ,wms_upload_url = $7,  wms_owner = $8, wms_timestamp = $9,
> wms_supportsld
> = $10, wms_userlayer = $11, wms_userstyle = $12, wms_remotewfs = $13,
> wms_network_access = $14, fkey_mb_group_id = $15, uuid = $16  WHERE wms_id
> =
> $17, Error: ERROR:  el valor null para la columna «wms_version» viola la
> restricción not null
>
> I appreciate your help. Another thanks
> Regards
>
> Charles
>
>
>
> >----Original Message----
> >De: verena.diewald at wheregroup.com
> >Fecha: 20/08/2013 06:10
> >Para: <mapbender_users at lists.osgeo.org>
> >Asunto: Re: [Mapbender-users] Problem with wms in a mapbender copy
> >
> >Hi Charles,
> >
> >
> >can you tell us some more information?
> >What happens while loading or updating your WMS services? Do you get a
> >special error in the client or are there any log messages in Mapbender
> >logfile?
> >
> >
> >Regards,
> >
> >Verena
> >
> >
> >Am 19.08.2013 23:33, schrieb cnievas-npm at adinet.com.uy:
> >> Hello, i need some help. I copied the mapbender 2.7 directory and the
> database
> >> and paste into another server and restore the database.
> >> I'm having problem with some features like wms, i cant load or update
> wms
> >> services.
> >> If someone can helpme, i appreciate very much.
> >> Thank you,
> >>
> >> Regards
> >>
> >> Charles
> >> _______________________________________________
> >> Mapbender_users mailing list
> >> Mapbender_users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
> >--
> >
> >_______________________________________________
> >Mapbender_users mailing list
> >Mapbender_users at lists.osgeo.org
> >http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20130820/f387b71f/attachment-0001.html>


More information about the Mapbender_users mailing list