<!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.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>well, "POINT()" is effectively hardly a valid
geometry.</FONT></DIV>
<DIV><FONT size=2>are you sure you dont have a javascript error when you place
the point on the map before submiting ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the only why to know whats going on is to debug the passage of
the point geometry to see if the problem is in the javascript or in the
php, then poinpoint it further.</FONT></DIV>
<DIV><FONT size=2>a good start would be to add print_r($_REQUEST); in the
function handleHttpPostRequest of ClientEdit.php, which should display the list
of parameters received by the epplications at each submit, which would allow to
see if a valid geometry is passed from the user's browser to the
server.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</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=karolitab@gmail.com href="mailto:karolitab@gmail.com">Karol
Briones</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> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <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> Wednesday, January 07, 2009 4:45
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] CGI
Problem</DIV>
<DIV><BR></DIV>Hi oliver,<BR><BR>The log error show this only error
message:<BR><BR>[error] [client 127.0.0.1] , referer: <A
href="http://localhost/cartoweb3/htdocs/client.php">http://localhost/cartoweb3/htdocs/client.php</A><BR><BR>and
about the edit plugin, the cartoweb error page show:<BR><BR><PRE style="BORDER-RIGHT: 0pt; BORDER-TOP: 0pt; BORDER-LEFT: 0pt; BORDER-BOTTOM: 0pt">Class : SoapFaultWrapper<BR>Message : Unable to insert feature in edit database Message: DB Error: unknown error Userinfo: INSERT INTO public.edit_point (the_geom , name, surname, place, age) VALUES (GeometryFromText('POINT()', -1) , 'punto', 'prueba', 'guayaquil', '24') [nativecode=ERROR: Invalid OGC WKT (too short)]<BR>
Backtrace:<BR><BR>file: 281 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php<BR>call: Utils::checkDbError(Object(DB_Error), "Unable to insert feature in edit database")<BR><BR>file: 601 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php<BR>
call: ServerEdit->insertFeature(Object(Feature))<BR><BR>file: 74 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php<BR>call: ServerEdit->handlePreDrawing(Object(EditRequest))<BR><BR>file: 132 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php<BR>
call: ServerPluginHelper->callHandleFunction(Object(ServerEdit), "handlePreDrawing")<BR><BR>file: UNKNOWN - UNKNOWN<BR>call: ClientResponderHelper->handlePreDrawingHelper(Object(ServerEdit))<BR><BR>file: 267 - C:\ms4w\apps\cartoweb3\common\PluginManager.php<BR>
call: call_user_func_array(Array(2), Array(1))<BR><BR>file: 285 - C:\ms4w\apps\cartoweb3\common\PluginManager.php<BR>call: PluginManager->callPluginImplementing(Object(ServerEdit), "ClientResponder", "handlePreDrawing", Array(0))<BR>
<BR>file: 301 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: PluginManager->callPluginsImplementing("ClientResponder", "handlePreDrawing")<BR><BR>file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>
call: Cartoserver->doGetMap(Object(MapRequest))<BR><BR>file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))<BR><BR>file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<BR>
call: Cartoserver->cacheGetMap(Object(MapRequest))<BR><BR>file: 184 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<BR>call: MapResultCache->getMapResultFromServer(Object(MapRequest))<BR><BR>file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>
call: MapResultCache->getMap(Object(MapRequest))<BR><BR>file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>call: Cartoserver->getMap(Object(MapRequest))<BR><BR>file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>
call: CartoserverService->callDirect("getMap", Object(MapRequest))<BR><BR>file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>call: CartoserverService->callFunction("getMap", Object(MapRequest))<BR>
<BR>file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>call: CartoserverService->getMap(Object(MapRequest))<BR><BR>file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>call: Cartoclient->getMapResultFromRequest(Object(MapRequest))<BR>
<BR>file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>call: Cartoclient->doMain()<BR><BR>file: 38 - C:\ms4w\apps\cartoweb3\htdocs\client.php<BR>call: Cartoclient->main()<BR><BR></PRE>I'm
using the cartoweb 3.4.0 version, the cache options are set in
false.<BR><BR>Thanks and regards,<BR>Karol.<BR><BR><BR>
<DIV class=gmail_quote>2009/1/6 Oliver Christen <SPAN dir=ltr><<A
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the cgi error seems like a critical Apache failure, and I
have no idea what would cause that.</FONT></DIV>
<DIV><FONT size=2>do you have anything in the Apache error log
?</FONT></DIV>
<DIV><FONT size=2>also maybe try to enable/increase the php error reporting
level in your php.ini</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>about the edit plugin, you can try to disable caching (see
5.6.2. and 5.6.3. in the documentation <A
href="http://www.cartoweb.org/doc/cw3.5/xhtml/user.caches.html#user.caches.config.common"
target=_blank>http://www.cartoweb.org/doc/cw3.5/xhtml/user.caches.html#user.caches.config.common</A>)</FONT></DIV>
<DIV><FONT size=2>but this problem should not appear in Cartoweb 3.5 as the
cache is now disabled by default when using the edit plugin
function.</FONT></DIV>
<DIV><FONT size=2>which version of Cartoweb are you using ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=karolitab@gmail.com href="mailto:karolitab@gmail.com"
target=_blank>Karol Briones</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org"
target=_blank>cartoweb-users@lists.maptools.org</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, January 06, 2009 5:07 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[Cartoweb-users] CGI Problem</DIV>
<DIV><BR></DIV>Hello List,<BR><BR>I have a problem with CGI, I installed
the "edit plugin" in my cartoweb proyect with the "spanish
internationalization", I'm translated all to spanish, but the problem is
when I try to add a new point on the map, first the point don't show in
the first click of the mouse, in the second click of the mouse, the point
appear in the up left corner, then I try to save the data point and appear
the windows message:<BR><BR>CGI/FastCGI has encountered a problem and
needs to close...<BR><BR>I need to install some aditional software?,
thanks for your help.<BR><BR>Thanks and regards,<BR>Karol.<BR></DIV></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Saludos Cordiales<BR>Karol Briones
Fuentes<BR><BR>Egresada Ingeniería en Computación<BR>Especialización Sistemas
Multimedia - ESPOL<BR><BR>Phone: 5934-2463540<BR>Cellular:
5938-4735721<BR></BLOCKQUOTE></BODY></HTML>