AlessioDL sei un grande, grazie ancora.

L'interfaccia Cartoweb è quasi del tutto configurata. Sono rimasti da risolvere alcuni problemi, uno di questi è il seguente:

- non si apre la pagina relativa a "Editing Demo" o megli l'apertura provoca i seguenti errori:

Failure
CartoWeb version: 3.3.0 [$Revision: 1.2 $]
class: SoapFaultWrapper
message: Mapserver error: Error in msDrawMap(): Failed to draw layer named 'EDITPOLY'.
Error in msPOSTGISLayerOpen(): couldnt make connection to DB with connect string 'dbname=@DB_EDIT_NAME@ user=@DB_USER@ password=*********** host=@DB_HOST@'.

Error reported was 'could not translate host name "@DB_HOST@" to address: Unknown host
'.


This error occured when trying to make a connection to the specified postgresql server.

Most commonly this is caused by
(1) incorrect connection string
(2) you didnt specify a 'user=...' in your connection string
(3) the postmaster (postgresql server) isnt running
(4) you are not allowing TCP/IP connection to the postmaster
(5) your postmaster is not running on the correct port - if its not on 5432 you must specify a 'port=...'
(6) the security on your system does not allow the webserver (usually user 'nobody') to make socket connections to the postmaster
(7) you forgot to specify a 'host=...' if the postmaster is on a different machine
(8) you made a typo


Backtrace:

file: 226 - C:\wamp\www\cartoweb3\coreplugins\images\server\ServerImages.php
call: ServerContext->checkMsErrors()

file: 311 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: ServerImages->drawMainmap(Object(Images))

file: 349 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))

file: 370 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))

file: 81 - C:\wamp\www\cartoweb3\server\MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))

file: 115 - C:\wamp\www\cartoweb3\server\MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))

file: 198 - C:\wamp\www\cartoweb3\server\MapResultCache.php
call: MapResultCache->cacheMapResult(Object(MapRequest))

file: 380 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))

file: 104 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))

file: 165 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))

file: 233 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMap", Object(MapRequest))

file: 916 - C:\wamp\www\cartoweb3\client\Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))

file: 1045 - C:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))

file: 1220 - C:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()

file: 38 - C:\wamp\www\cartoweb3\htdocs\client.php
call: Cartoclient->main()

file: 3 - C:\wamp\www\cartoweb3\htdocs\demoEdit.php
call: require_once("C:\wamp\www\cartoweb3\htdocs\client.php")