[Cartoweb-users] Mapserver Error

Alexandre Saunier alexandre.saunier at camptocamp.com
Mon Jan 23 12:39:04 EST 2006


Paul,

I don't really know what's going wrong here.

Anyway you should always launch cw3setup.php from within your cartoweb3/ 
root directory (except for some exotic install options such as 
--fetch-from-cvs).

AS


Paul Shapley wrote:
> Hi All,
>  
> Your right!,  i don't know why it is the 'Cartoweb3' Root because all 
> the changes were made in the 'My_Projects' directory (server_conf). 
> Could this be something to do with launching 'cw3setup.php' from within 
> the Cartoweb3 root instead of launching from 'My_Projects'??.
>  
> I'm not sure what has happened below. Odd too that there is a 
> directory/file called "/map/map.map" which does not appear in the 
> '/cartoweb3/server_conf/'
>  
> Thanks,
>  
> Paul
>  
> 
> *Warning*: parse_ini_file(c:\wamp\www\cartoweb3/server_conf/map/map.ini) 
> [function.parse-ini-file 
> <http://localhost/cartoweb3/htdocs/function.parse-ini-file>]: failed to 
> open stream: No such file or directory in 
> *c:\wamp\www\cartoweb3\server\ServerContext.php* on line *471*
> 
> *Warning*: parse_ini_file(c:\wamp\www\cartoweb3/server_conf/map/map.ini) 
> [ function.parse-ini-file 
> <http://localhost/cartoweb3/htdocs/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/map/map.map) in 
> *c:\wamp\www\cartoweb3\server\ServerContext.php* on line *336*
> 
> *Warning*: Failed to open map file 
> c:\wamp\www\cartoweb3/server_conf/map/map.map in 
> *c:\wamp\www\cartoweb3\server\ServerContext.php* on line *336*
> 
> *Warning*: Cannot modify header information - headers already sent by 
> (output started at c:\wamp\www\cartoweb3\server\ServerContext.php:471) 
> in *c:\wamp\www\cartoweb3\client\FormRenderer.php* on line *297*
> camptocamp
> 
> 
>  
> Failure
> 
> Class : SoapFaultWrapper
> Message : Mapserver error: Error in msLoadMap(): (c:\wamp\www\cartoweb3/server_conf/map/map.map)
> 
> 
> 
> Backtrace:
> 
> file: 337 - 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: 378 - 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("Paul.map")
> 
> file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "Paul.map")
> 
> file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("Paul.map")
> 
> file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "Paul.map")
> 
> file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "Paul.map")
> 
> file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("Paul.map")
> 
> 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: 590 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("Paul.map")
> 
> file: 374 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
> 
> file: 36 - c:\wamp\www\cartoweb3\htdocs\client.php
> call: Cartoclient->__construct()
> 
> file: 3 - c:\wamp\www\cartoweb3\htdocs\Paul.php
> call: require_once("c:\wamp\www\cartoweb3\htdocs\client.php")
> 
> 
> 
> 
> back <http://localhost/cartoweb3/htdocs/paul.php?reset_session>
> 
>  
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


More information about the Cartoweb-users mailing list