[Mapbender-users] [Fwd: Cannot load WMS through admin2_en or admin_en_services]

Michael Schulz mschulz at webgis.de
Fri May 23 04:24:51 EDT 2008


Hi Angel,

in the mapbender db installation process, you have to load three
sql-files in your mapbender db (schema, data and sequences). Are you
sure that you have correctly loaded the last file:
pgsql_serial_set_sequences.sql? If this is missing, the db starts
generating unique keys for some tables from 0, but certain tables have
already been filled with content (pgsql_data.sql) and thus the db
needs to know where the range of unique key values for each of these
tables should start.

Cheers, Michael



2008/5/23 Arnulf Christl <arnulf.christl at wheregroup.com>:
> Forwarded to list address (original sent to:
> mapbender_users-owner at lists.osgeo.org)
>
> -------- Original Message --------
> Subject: Cannot load WMS through admin2_en or admin_en_services
> Date: Thu, 22 May 2008 15:11:28 +0300
> From: Angel Nedelchev <angel.nedelchev at gmail.com>
> To: mapbender_users-owner at lists.osgeo.org
>
> Sear List
>
> I am running Mapbender Version 2.4.3 (2007-10-05)  with correctly installed
> PostgreSQL and Postgis on Windows version of Mapserver ms4w version 2.2.7
>
> Everything seems to work fine.
> But in fact is not.
>
> When I try load WMS from button "Adding WMS" on GUI (front end) its OK. WMS
> layers loads.But this way loads WMS temporary.
>
> But when I try to load WMS permanently through "admin2_en" or
> "admin_en_services" from back end i receive the following error message
>
> *Warning*: pg_exec() [function.pg-exec]: Query failed: ERROR: duplicate key
> value violates unique constraint "pk_gui_layer" in *
> C:\ms4w\apps\mapbender\http\php\database-pgsql.php* on line *133*
> sql error: ERROR: duplicate key value violates unique constraint
> "pk_gui_layer" ROLLBACK performed....
>
> Can you help me, dear list.
>
> Angel
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------


More information about the Mapbender_users mailing list