Hi Oliver,<br>When the application start show this message:<br><br>Array ( [map] => C:/ms4w/apps/cartoweb3/projects/SIGGuayaquil/server_conf/SIGGuayaquil/SIGGuayaquil.map [program] => /cgi-bin/mapserv.exe [posted] => 1 [js_folder_idx] => 9 [selection_type] => [selection_coords] => [features] => [project] => SIGGuayaquil [collapse_keymap] => 0 [fake_reset] => [fake_query] => [outline_label_text] => your label [tool] => zoomin [recenter_doit] => 0 [recenter_scale] => 0 [mapsize] => 1 [openNodes] => [layers] => Array ( [0] => manzanas [1] => metrovia [2] => ruta ) [outline_mask] => no [outline_point_symbol] => circle [outline_point_size] => 10 [outline_point_color] => #0000cd [outline_point_transparency] => 100 [outline_line_size] => 3 [outline_line_color] => #ff0000 [outline_line_transparency] => 100 [outline_polygon_outline_color] => #000000 [outline_polygon_background_color] => #ff9900 [outline_polygon_transparency] => 60 [id_recenter_layer] => metrovia [id_recenter_ids] => [pdfMarginX] => 20 [pdfMarginY] => 20 [pdfA4x] => 210 [pdfA4y] => 297 [pdfA3x] => 297 [pdfA3y] => 420 [pdfFormat] => A4 [pdfResolution] => 96 [pdfScale] => 100000 [pdfOrientation] => portrait [pdfMapAngle] => [pdfMapCenterX] => [pdfMapCenterY] => [pdfTitle] => SIG Guayaquil [pdfNote] => [pdfLegend] => 0 [query_alllayers] => 1 [query_layerid] => Array ( [0] => metrovia [1] => ruta ) [query_hilight] => Array ( [0] => metrovia [1] => ruta ) [query_attributes] => Array ( [0] => metrovia [1] => ruta ) [query_table] => Array ( [0] => metrovia [1] => ruta ) [query_policy_0] => POLICY_XOR [query_maskmode] => Array ( [0] => metrovia [1] => ruta ) [query_policy_1] => POLICY_XOR [edit_layer] => edit_point [edit_validate_all] => 0 [LangCookie] => es [TestCookie] => OK [PHPSESSID] => ceaa395b31b8a7f399c5f268aa1a5329 ) <br>
<br>That is normal, but when I add the print_r($_REQUEST) in the function handleHttpPostRequest of ClientEdit.php and display these parameters:<br><br>Array ( [map] => C:/ms4w/apps/cartoweb3/projects/SIGGuayaquil/server_conf/SIGGuayaquil/SIGGuayaquil.map [program] => /cgi-bin/mapserv.exe [posted] => 1 [js_folder_idx] => 9 [selection_type] => [selection_coords] => [features] => [project] => SIGGuayaquil [collapse_keymap] => 0 [fake_reset] => [fake_query] => [outline_label_text] => your label [tool] => edit_point [recenter_doit] => 0 [recenter_scale] => 0 [mapsize] => 1 [edit_feature_1231373984610798] => Array ( [name] => prueba [surname] => prueba [place] => Guayaquil [age] => 24 [WKTString] => POINT() [operation] => insert ) [edit_selected] => 1231373984610798 [openNodes] => [layers] => Array ( [0] => manzanas [1] => metrovia [2] => ruta [3] => edit_point ) [outline_mask] => no [outline_point_symbol] => circle [outline_point_size] => 10 [outline_point_color] => #0000cd [outline_point_transparency] => 100 [outline_line_size] => 3 [outline_line_color] => #ff0000 [outline_line_transparency] => 100 [outline_polygon_outline_color] => #000000 [outline_polygon_background_color] => #ff9900 [outline_polygon_transparency] => 60 [id_recenter_layer] => metrovia [id_recenter_ids] => [pdfMarginX] => 20 [pdfMarginY] => 20 [pdfA4x] => 210 [pdfA4y] => 297 [pdfA3x] => 297 [pdfA3y] => 420 [pdfFormat] => A4 [pdfResolution] => 96 [pdfScale] => 100000 [pdfOrientation] => portrait [pdfMapAngle] => [pdfMapCenterX] => [pdfMapCenterY] => [pdfTitle] => SIG Guayaquil [pdfNote] => [pdfLegend] => 0 [query_alllayers] => 1 [query_layerid] => Array ( [0] => metrovia [1] => ruta ) [query_hilight] => Array ( [0] => metrovia [1] => ruta ) [query_attributes] => Array ( [0] => metrovia [1] => ruta ) [query_table] => Array ( [0] => metrovia [1] => ruta ) [query_policy_0] => POLICY_XOR [query_maskmode] => Array ( [0] => metrovia [1] => ruta ) [query_policy_1] => POLICY_XOR [edit_layer] => edit_point [edit_validate_all] => 1 [LangCookie] => es [TestCookie] => OK [PHPSESSID] => ceaa395b31b8a7f399c5f268aa1a5329 ) <br>
<br>Only change this lines:<br><br>[edit_feature_1231373984610798] => Array ( [name] => prueba
[surname] => prueba [place] => Guayaquil [age] => 24
[WKTString] => POINT() [operation] => insert ) <br>[edit_selected]
=> 1231373984610798<br><br><div style="text-align: left;" id="result_box" dir="ltr">Apparently normal.</div><br>Thanks and regards,<br>Karol.<br><br><div class="gmail_quote">2009/1/7 Oliver Christen <span dir="ltr"><<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div 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><font color="#888888">
</font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div class="Ih2E3d">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="karolitab@gmail.com" href="mailto:karolitab@gmail.com" target="_blank">Karol
Briones</a> </div>
</div><div><div></div><div class="Wj3C7c"><div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>To:</b> <a title="oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com" target="_blank">Oliver Christen</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, January 07, 2009 4:45
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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" target="_blank">http://localhost/cartoweb3/htdocs/client.php</a><br><br>and
about the edit plugin, the cartoweb error page show:<br><br><pre style="border: 0pt none ;">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" target="_blank">oliver.christen@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>
<div></div>
<div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="karolitab@gmail.com" href="mailto:karolitab@gmail.com" target="_blank">Karol Briones</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Tuesday, January 06, 2009 5:07 AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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></div></div></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>