hi Davide,
the setup script does not create automatically the shortcut to your project in the htdocs folder, you need to make one yourself. Just copy one existing one and modify the content: ( $_ENV['CW3_PROJECT'] = 'yourprojet'; )

The error you have comes from the fact that cartoweb tries to load the demoCW3.map file which certainly does not exist in your project.

Also, be sure to replace all reference to demoCW3 by yourprojectname in all the configuration files of your project.

Regards,
Oliver



----- Original Message ----- From: Albertini Davide
To: [email protected]
Sent: Wednesday, April 12, 2006 3:22 PM
Subject: [Cartoweb-users] Newbie Problems


Hi,
I'm tring to use Cartoweb 3.2 installed on my Windows Xp with Wamp. I followed the How-to (create new project and create layer tree) but I can't still see my map. My problem is the cw3setup.php setup script: when I execute it I didn't recive any error but in the htdocs folder I can't find the my project and when I try to open my prject in the development interface this is wath i see:

Warning: parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\wamp\www\cartoweb3\server\ServerContext.php on line 468

Warning: parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\wamp\www\cartoweb3\common\StructHandler.php on line 59

Warning: Invalid argument supplied for foreach() in C:\wamp\www\cartoweb3\common\MapInfo.php on line 219

Warning: [MapServer Error]: msLoadMap(): (C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map) in C:\wamp\www\cartoweb3\server\ServerContext.php on line 333

Warning: Failed to open map file C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map in C:\wamp\www\cartoweb3\server\ServerContext.php on line 333

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\cartoweb3\server\ServerContext.php:468) in C:\wamp\www\cartoweb3\client\FormRenderer.php on line 301


Failure
Class : SoapFaultWrapper
Message : Mapserver error: Error in msLoadMap(): (C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map)

Backtrace:

file: 334 - C:\wamp\www\cartoweb3\server\ServerContext.php
call: ServerContext->checkMsErrors()

file: 152 - C:\wamp\www\cartoweb3\server\MapInfoHandler.php
call: ServerContext->getMapObj()

file: 49 - C:\wamp\www\cartoweb3\server\ServerMapInfoCache.php
call: MapInfoHandler->loadMapInfo()

file: 99 - C:\wamp\www\cartoweb3\common\MapInfoCache.php
call: ServerMapInfoCache->computeMapInfo()

file: 169 - C:\wamp\www\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()

file: 177 - C:\wamp\www\cartoweb3\server\MapInfoHandler.php
call: MapInfoCache->getMapInfo()

file: 375 - C:\wamp\www\cartoweb3\server\ServerContext.php
call: MapInfoHandler->getMapInfo()

file: 190 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: ServerContext->getMapInfo()

file: 337 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMapInfo("ticino.demoCW3")

file: 377 - C:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "ticino.demoCW3")

file: 104 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMapInfo("ticino.demoCW3")

file: 158 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMapInfo", "ticino.demoCW3")

file: 217 - C:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMapInfo", "ticino.demoCW3")

file: 60 - C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
call: CartoserverService->getMapInfo("ticino.demoCW3")

file: 99 - C:\wamp\www\cartoweb3\common\MapInfoCache.php
call: ClientMapInfoCache->computeMapInfo()

file: 169 - C:\wamp\www\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()

file: 596 - C:\wamp\www\cartoweb3\client\Cartoclient.php
call: MapInfoCache->getMapInfo("ticino.demoCW3")

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

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

I hope you can Help me.
Greetings, Davide





_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to