****SPAM Mail****[Mapbender-users] Fehler beim Hochladen der Capabilities

martina ikert martinaikert at hotmail.com
Mon Jan 18 04:49:02 EST 2010


Hallo Armin,

wir haben am Freitag nachmittag mal wieder ein bisschen probiert.

Zuerst einmal: bei uns läuft kein Proxy.

Dann haben wir in die log-Datei geschaut.

Untenstehend der Eintrag.

 


------------------------------------------------
2010.01.15, 17:59:48,mb_validateSession.php: GUI: admin2_de, checking 
file /mapbender1/http/php/mod_updateWMS.php...session valid.
2010.01.15, 17:59:48,mb_validatePermission.php: checking file 
/mapbender1/http/php/mod_updateWMS.php...permission valid.
2010.01.15, 17:59:48,connector: unable to load: 
http://our-server.domaine.de:8080/cgi-bin/mapserv?map=/tmp/MapServ_Test/fgs3/www/cgi-bin/expeditions.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
2010.01.15, 17:59:48,Error while executing prepared statement in 
/tmp/MapServ_Test/fgs3/www/htdocs/mapbender1/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  WHERE wms_id = $10, Error: FEHLER:  NULL-Wert in 
Spalte »wms_version« verletzt Not-Null-Constraint

------------------------------------------------

aus mapbender.conf:
-------------------------------------------------
# --------------------------------------------
# URL to owsproxy
# (no terminating slash)
# --------------------------------------------

define("OWSPROXY", "");

# --------------------------------------------
# type of server-connection
# curl, socket, http
# --------------------------------------------

#define("CONNECTION", "curl");
define("CONNECTION", "http");
#define("CONNECTION", "socket");

define("CONNECTION_PROXY", "");
define("CONNECTION_PORT", "");
define("CONNECTION_USER", "");
define("CONNECTION_PASSWORD", "");

-------------------------------------------------

 

Hat jemand noch einen guten Tipp?

 

Viele Grüße

Martina



 
> From: armin.retterath at lvermgeo.rlp.de
> To: mapbender_users at lists.osgeo.org
> Subject: Re: ****SPAM Mail****[Mapbender-users] Fehler beim Hochladen der Capabilities
> Date: Mon, 11 Jan 2010 08:49:39 +0100
> 
> hallo martina,
> das problem liegt meist an einer falschen proxy konfiguration. der mapbender 
> bekommt irgendein dokument das er nicht interpretieren kann. in der 
> mapbender.conf kann man die verschiedenen wege wählen. bei uns wird 
> eigentlich immer curl genutzt. hier kann man auch ausnahmen eintragen - IPs 
> oder namen die nicht über den proxy laufen sollen. man solte demnächst mal 
> einfach ein xml validating über das geladene dokument machen. dann fallen 
> solche dinge einfacher auf. du kannst auch mal das geladene dokument ins log 
> schreiben lassen. dann siehst du was der mapbender versucht zu laden:
> hierzu in der class_connector.php function load einfach mal ein $e=new 
> mb_exception('class_connector.php: loaded external data: ',$data); eintragen 
> (vor der return.. zeile)
> unter mapbender/log/mb... findest du dann die logdatei mit den geladenen 
> capabilities dokumenten. oft hilfreich: tail -f mb_error... in ner shell - 
> zeigt immer die neuesten fehlermeldungen.
> grüsse
> armin
> 
> Am Samstag 09 Januar 2010 14:37:01 schrieb martina ikert:
> > Hallo Liste,
> >
> > am 11.08.08 hatte ein Benutzer das gleiche Problem wie ich.
> >
> > Thread: Error when WMS updatet or add:
> >
> >
> >
> >
> >
> > hi list,
> >
> > > if i would like to update a wms i got the message:
> > >
> > > Warning: pg_execute() [function.pg-execute]: Query failed: ERROR: null
> > > value in column "wms_version" violates not-null constraint in
> > > /usr/local/fgs/www/htdocs/mapbender/http/php/database-pgsql.php on line
> > > 176 sql error: ERROR: null value in column "wms_version" violates
> > > not-null constraint ROLLBACK performed....
> >
> > Antwort:
> >
> > Mapbender seems to be unable to parse the capabilities document for the
> > version number. Can you supply the capabilities XML?
> >
> >
> > In der capabilities XML sind alle Parameter vorhanden, das Problem taucht
> > auf beim Update.
> >
> > Dazu erklären muss ich noch, dass ich mein System lokal entwickelt habe und
> > das System nun auf einem LINUX-Server installiert wurde. Lokal installiert
> > habe ich eine ältere Mapbender-Version.
> >
> > Alle Pfadangaben, die wir in der map-Datei geändert hatten, wurden nicht
> > gelesen und mussten direkt in der Datenbank angepasst werden.
> >
> >
> > Das Problem wird leider im thread nicht gelöst.
> >
> > Hat jemand einen Lösungsansatz?
> >
> >
> >
> > Viele Grüße
> >
> > Martina
> >
> > _________________________________________________________________
> > Windows Live: Friends get your Flickr, Yelp, and Digg updates when they
> > e-mail you.
> > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so
> >cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
> 
> 
> 
> -- 
> Im Auftrag
> --
> Armin Retterath
> 
> Kompetenz- und Geschäftsstelle Geodateninfrastruktur Rheinland-Pfalz
> beim
> Landesamt für Vermessung und Geobasisinformation Rheinland-Pfalz
> 
> Ferdinand-Sauerbruch-Straße 15
> 56073 Koblenz
> Telefon 0261/492-466
> Telefax 0261/492-492
> armin.retterath at lvermgeo.rlp.de
> http://www.geoportal.rlp.de
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
 		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapbender_users/attachments/20100118/83812827/attachment.html


More information about the Mapbender_users mailing list