[Mapbender-users] Upload WMS fails with no Error

Friedrich Hoedl friedrich.hoedl at hoedl-online.de
Wed Dec 9 15:11:58 EST 2009


Dear Michael,

Yes, Mapbender and Mapserver are running on the same Machine.
The installed Mapbender Version is 2.6 on Windows 2008 OS.

Your idea was great. Indeed it is a connection problem:

I separated Mapbender and Mapserver and moved Mapserver into a Virtual
Machine.
I tried to upload the WMS again and now it goes!

OK, so far so good - which setup do i need, to run both applications on one
system:

Is it sufficient to configure in Mapbender.conf:

define("CONNECTION", "curl");
define("NOT_PROXY_HOSTS", "127.0.0.1");


... or do I need something else?
Unfortunately when using these settings and retried to upload a WMS, the
same error occurs in the Mapbender GUI.
The Mapbender-Log-Entries are not very meaningful :

2009.12.09, 20:59:07,Notice: class_locale: setting locale to en
2009.12.09, 20:59:07,Notice: locale English_United States.1252 ok on windows
2009.12.09, 20:59:07,Notice: mb_validateSession.php: checking file
/mapbender/php/mod_loadwms.php
2009.12.09, 20:59:07,Notice: gui id not set
2009.12.09, 20:59:07,Notice: gui id set to guiID: admin2_de
2009.12.09, 20:59:07,Notice: mb_validateSession.php: GUI: admin2_de,
checking file /mapbender/php/mod_loadwms.php...session valid.
2009.12.09, 20:59:07,Notice: administration->getGuisByPermission is
deprecated, use user->getApplicationsByPermission instead!
2009.12.09, 20:59:07,Notice: mb_validatePermission.php: checking file
/mapbender/php/mod_loadwms.php...permission valid.
2009.12.09, 20:59:07,Notice: CURL host:localhost

Thanks again and best regards

Fritz Hoedl





> -----Original Message-----
> From: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-
> bounces at lists.osgeo.org] On Behalf Of Michael Schulz
> Sent: Wednesday, December 09, 2009 7:32 PM
> To: Mapbender User List
> Subject: Re: [Mapbender-users] Upload WMS fails with no Error
> 
> Hi,
> 
> what Mapbender version are you using? It sounds like a http connection
> problem. I assume Mapbender is also running on localhost?
> Have you configured a proxy? In recent mapbender version you can
> define no_proxy locations, when using connection type curl.
> 
> Have a look a the logfile. Usually connection problems should show up
> there.
> 
> Cheers, Michael
> 
> 
> 2009/12/9 Friedrich Hoedl <friedrich.hoedl at hoedl-online.de>:
> > Dear Mapbender Community,
> >
> > now i have been searching for a long time in this mailinglist to fix
> my
> > phenomenon – but until now I had no success.
> > So i´d like to place my question right here in this mailinglist:
> >
> > I still have a fully functional mapserver-Installation with a mapfile
> that
> > is based on an example taken out of one of the O´Reilly-Books
> > (http://www.webmappingillustrated.com/Beispiele ) and liked to
> publish a WMS
> > with one Layer.
> > Therefore I tried to upload this  new WMS to my existing windows
> mapbender
> > Installation.
> >
> > I don´t have a problem to load this WMS under Quantum GIS and in
> there, my
> > layer is shown correctly.
> > So I went back to mapbender and tried to load the same WMS by
> clicking “Load
> > WMS” in the Main Menue.
> > I used the following URL:
> >
> > http://localhost/cgi-
> bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/global.map&RE
> > QUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
> >
> > 
 and pushed the “Load” - Button.
> >
> > After some time (approx. 30 Seconds) the Browser gave back the URL:
> >
> > file:
> > http://localhost/cgi-
> bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/global.map&RE
> > QUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
> >
> > but nothing else.
> >
> > The Logfiles (Apache, PHP and mapbender) doesn´t show anything
> unusual.
> >
> > Does anyone knows what this means?
> > I don´t know what´s not ok – the mapfile?
> > Something in my mapbender-configuration?
> >
> > Opening an external WMS works fine so i´m very confused where to
> search
> > next.
> >
> > Thanks for all and best regards
> >
> > Fritz Hoedl
> >
> >
> >
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
> 
> 
> 
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aufwind durch Wissen!
> 
> Qualifizierte Open Source Schulungen bei der
> http://www.foss-akademie.de/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> -----------------------------------------------------------
> Michael Schulz
> mschulz at webgis.de
> 
> in medias res
> Gesellschaft für Informationstechnologie mbH
> 
> +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++
> 
> Schwimmbadstraße 2
> D-79100  Freiburg i. Br.
> 
> Tel:  +49 (0)761 705798-102
> Tel:  +49 (0)761 705798-0
> Fax: +49 (0)761 705798-09
> 
> +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++
> 
> http://www.webgis.de / http://www.zopecms.de
> --------------------------------------------------------------
> Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
> Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users



More information about the Mapbender_users mailing list