[Mapbender-users] Error when WMS updatet or add
vollbotz
volker.emmel at lwk-rlp.de
Fri Aug 1 04:19:09 EDT 2008
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....
If i use the [Preview Capabilities] Button on update - it works fine....
If i want to add a new wms i got:
file:
http://www.geodaten2.rlp/cgi-bin/premiumdop.cgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
Missing parameters:
id:
version:
title:
abstract:
maprequest:
capabilitiesrequest:
featureinforequest:
gui_wms_mapformat:
gui_wms_featureinfoformat:
gui_wms_exceptionformat:
gui_wms_epsg:
wms_srs:
gui_wms_visible:
gui_wms_opacity:
support_sld:
wms Object ( [lastURL] => [wms_id] => [wms_status] => [wms_version] =>
[wms_title] => [wms_abstract] => [wms_getcapabilities] =>
[wms_getcapabilities_doc] => [wms_getmap] => [wms_getfeatureinfo] =>
[wms_getlegendurl] => [wms_upload_url] => [fees] => [accessconstraints] =>
[contactperson] => [contactposition] => [contactorganization] => [address]
=> [city] => [stateorprovince] => [postcode] => [country] =>
[contactvoicetelephone] => [contactfacsimiletelephone] =>
[contactelectronicmailaddress] => [wms_keyword] => Array ( ) [data_type] =>
Array ( ) [data_format] => Array ( ) [objLayer] => Array ( )
[wms_supportsld] => [wms_userlayer] => [wms_userstyle] => [wms_remotewfs] =>
[gui_wms_mapformat] => [gui_wms_featureinfoformat] =>
[gui_wms_exceptionformat] => [gui_wms_epsg] => [gui_wms_sldurl] =>
[default_epsg] => 0 [overwrite] => 1 )
Data not committed
----------------------------------------------------------
if i add a new one by downloading the capabilities.xml i got:
file: http://200.1.50.21:8080/mapbender/wms/Luftbild.xml
Warning: pg_execute() [function.pg-execute]: Query failed: ERROR: value too
long for type character varying(255) in
/usr/local/fgs/www/htdocs/mapbender/http/php/database-pgsql.php on line 176
sql error: ERROR: value too long for type character varying(255) ROLLBACK
performed....
-------------------------------------------------------------
I thing that this problem has happend a few times ago....
there you should download a new class_wms.php
(i tried this but it wont help)
> Does anyonw have an idea ??
- i use mapbender 2.5rc5
- postgres 8.3.1
- suse linux sls 10
Thanks (again) a lot ! V°°
--
View this message in context: http://www.nabble.com/Error-when-WMS-updatet-or-add-tp18770109p18770109.html
Sent from the mapbender-users mailing list archive at Nabble.com.
More information about the Mapbender_users
mailing list