[Cartoweb-users] Problem with the plugin edit

Oliver Christen oliver.christen at camptocamp.com
Fri Jul 25 02:01:14 EDT 2008


gid is an internal identifiant, something it is also oid, but this depends of postgres version and configuration.
replace gid in the query by the unique identifiant for your table. 
  ----- Original Message ----- 
  From: Claire Chastagnol 
  To: Oliver Christen ; cartoweb-users at lists.maptools.org 
  Sent: Thursday, July 24, 2008 4:50 PM
  Subject: Re: [Cartoweb-users] Problem with the plugin edit


  Hi

  All the id_attributes I use in the mapfile seem ti exist in the db.

  But I'm using postgresql 8.3 and I read there was some special things to add on the DATA specifications.

  I tried to add 'As foo USING UNIQUE gid USING SRID = ...' but this is not working,  postgresql reports that the gid column doesn't exit.

  Maybe the problem is coming from that line?

  Thanks
  Claire





    > Message du 24/07/08 16:21
    > De : "Oliver Christen" 
    > A : "Claire Chastagnol" , cartoweb-users at lists.maptools.org
    > Copie à : 
    > Objet : Re: [Cartoweb-users] Problem with the plugin edit
    > 
    >  
    Hi


    it seems one of the id in id_attribute_string in the layer in mapfile doesnt exist in the db, 

    can you verify ?


    regards

    Oliver

      ----- Original Message ----- 

      From: Claire Chastagnol 

      To: cartoweb-users at lists.maptools.org 

      Sent: Thursday, July 24, 2008 4:09 PM

      Subject: [Cartoweb-users] Problem with the plugin edit


      > 

      Hi everybody,
      > 
      > I want to use the plugin edit in my project but I have some kind of a problem with it.
      > 
      > The edit tools appear in my page and my editable layer also (I used the template from the demo for that to work).
      > But I can't add a new object or modify an existing one. Moreover, when I select an existing object, an error message appears:
      > 
      > class:   SoapFaultWrapper
      > message:   Error [8, Undefined index:  , C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php, 430]
      > Backtrace:
      > 
      > file: 430 - C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php
      > call: Common::cartowebErrorHandler(8, "Undefined index:  ", "C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php", 430, Array(15))
      > 
      > What could be the problem?
      > 
      > Many Thanks.
      > Claire 
      > 


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

      > 

      _______________________________________________
      > Cartoweb-users mailing list
      > Cartoweb-users at lists.maptools.org
      > http://lists.maptools.org/mailman/listinfo/cartoweb-users
      > 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080725/c45ae4e1/attachment.html


More information about the Cartoweb-users mailing list