<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Clarie,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You need to have a gid name atribute in your SELECT
in order to use the <FONT face="Times New Roman" size=3> 'As foo USING
UNIQUE gid USING SRID = ...' sentence, for example</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>SELECT whateverKey AS gid ..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Albert</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chastagnol.claire@wanadoo.fr
href="mailto:chastagnol.claire@wanadoo.fr">Claire Chastagnol</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> ; <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, July 24, 2008 11:50
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Problem
with the plugin edit</DIV>
<DIV><BR></DIV>Hi<BR><BR>All the id_attributes I use in the mapfile seem ti
exist in the db.<BR><BR>But I'm using postgresql 8.3 and I read there was some
special things to add on the DATA specifications.<BR><BR>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.<BR><BR>Maybe the problem
is coming from that line?<BR><BR>Thanks<BR>Claire<BR><BR><BR><BR><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">>
Message du 24/07/08 16:21<BR>> De : "Oliver Christen" <BR>> A :
"Claire Chastagnol" , cartoweb-users@lists.maptools.org<BR>> Copie à :
<BR>> Objet : Re: [Cartoweb-users] Problem with the plugin edit<BR>>
<BR>> 
<META content="MSHTML 6.00.6000.16640">
<STYLE></STYLE>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2>Hi</FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2></FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2>it seems one of the id in id_attribute_string in the layer in mapfile
doesnt exist in the db, </FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2>can you verify ?</FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2></FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2>regards</FONT></P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><FONT
size=2>Oliver</FONT></P>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<P style="FONT: 10pt arial">----- Original Message ----- </P>
<P
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><STRONG>From:</STRONG>
<A title=chastagnol.claire@wanadoo.fr
href="mailto:chastagnol.claire@wanadoo.fr">Claire Chastagnol</A> </P>
<P style="FONT: 10pt arial"><STRONG>To:</STRONG> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</P>
<P style="FONT: 10pt arial"><STRONG>Sent:</STRONG> Thursday, July 24, 2008
4:09 PM</P>
<P style="FONT: 10pt arial"><STRONG>Subject:</STRONG> [Cartoweb-users]
Problem with the plugin edit</P>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"><BR>>
</P>Hi everybody,<BR>> <BR>> I want to use the plugin edit in my
project but I have some kind of a problem with it.<BR>> <BR>> The
edit tools appear in my page and my editable layer also (I used the
template from the demo for that to work).<BR>> But I can't add a new
object or modify an existing one. Moreover, when I select an existing
object, an error message appears:<BR>> <BR>> class:
SoapFaultWrapper<BR>> message: Error [8, Undefined
index: , C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php,
430]<BR>> Backtrace:<BR>> <BR>> file: 430 -
C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php<BR>> call:
Common::cartowebErrorHandler(8, "Undefined index: ",
"C:\MS4W\apps\cartoweb3\plugins\edit\server\ServerEdit.php", 430,
Array(15))<BR>> <BR>> What could be the problem?<BR>> <BR>>
Many Thanks.<BR>> Claire
<P>> </P>
<HR>
<P>> </P>_______________________________________________<BR>>
Cartoweb-users mailing list<BR>>
Cartoweb-users@lists.maptools.org<BR>>
http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR>>
</BLOCKQUOTE><BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>