well, "POINT()" is effectively hardly a valid geometry. are you sure you dont have a javascript error when you place the point on the map before submiting ?
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. 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. regards Oliver ----- Original Message ----- From: Karol Briones To: Oliver Christen Cc: cartoweb-users@lists.maptools.org Sent: Wednesday, January 07, 2009 4:45 AM Subject: Re: [Cartoweb-users] CGI Problem Hi oliver, The log error show this only error message: [error] [client 127.0.0.1] , referer: http://localhost/cartoweb3/htdocs/client.php and about the edit plugin, the cartoweb error page show: Class : SoapFaultWrapperMessage : 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)] Backtrace:file: 281 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.phpcall: Utils::checkDbError(Object(DB_Error), "Unable to insert feature in edit database")file: 601 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php call: ServerEdit->insertFeature(Object(Feature))file: 74 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.phpcall: ServerEdit->handlePreDrawing(Object(EditRequest))file: 132 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php call: ServerPluginHelper->callHandleFunction(Object(ServerEdit), "handlePreDrawing")file: UNKNOWN - UNKNOWNcall: ClientResponderHelper->handlePreDrawingHelper(Object(ServerEdit))file: 267 - C:\ms4w\apps\cartoweb3\common\PluginManager.php call: call_user_func_array(Array(2), Array(1))file: 285 - C:\ms4w\apps\cartoweb3\common\PluginManager.phpcall: PluginManager->callPluginImplementing(Object(ServerEdit), "ClientResponder", "handlePreDrawing", Array(0)) file: 301 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: PluginManager->callPluginsImplementing("ClientResponder", "handlePreDrawing")file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php call: Cartoserver->doGetMap(Object(MapRequest))file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php call: Cartoserver->cacheGetMap(Object(MapRequest))file: 184 - C:\ms4w\apps\cartoweb3\server\MapResultCache.phpcall: MapResultCache->getMapResultFromServer(Object(MapRequest))file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php call: MapResultCache->getMap(Object(MapRequest))file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.phpcall: Cartoserver->getMap(Object(MapRequest))file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php call: CartoserverService->callDirect("getMap", Object(MapRequest))file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.phpcall: CartoserverService->callFunction("getMap", Object(MapRequest)) file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.phpcall: CartoserverService->getMap(Object(MapRequest))file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.phpcall: Cartoclient->getMapResultFromRequest(Object(MapRequest)) file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.phpcall: Cartoclient->doMain()file: 38 - C:\ms4w\apps\cartoweb3\htdocs\client.phpcall: Cartoclient->main()I'm using the cartoweb 3.4.0 version, the cache options are set in false. Thanks and regards, Karol. 2009/1/6 Oliver Christen <oliver.chris...@camptocamp.com> hi the cgi error seems like a critical Apache failure, and I have no idea what would cause that. do you have anything in the Apache error log ? also maybe try to enable/increase the php error reporting level in your php.ini about the edit plugin, you can try to disable caching (see 5.6.2. and 5.6.3. in the documentation http://www.cartoweb.org/doc/cw3.5/xhtml/user.caches.html#user.caches.config.common) but this problem should not appear in Cartoweb 3.5 as the cache is now disabled by default when using the edit plugin function. which version of Cartoweb are you using ? regards Oliver ----- Original Message ----- From: Karol Briones To: cartoweb-users@lists.maptools.org Sent: Tuesday, January 06, 2009 5:07 AM Subject: [Cartoweb-users] CGI Problem Hello List, 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: CGI/FastCGI has encountered a problem and needs to close... I need to install some aditional software?, thanks for your help. Thanks and regards, Karol. -------------------------------------------------------------------------- _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users -- Saludos Cordiales Karol Briones Fuentes Egresada Ingeniería en Computación Especialización Sistemas Multimedia - ESPOL Phone: 5934-2463540 Cellular: 5938-4735721
_______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users