[Cartoweb-users] Mapserver Errors

Alexandre Saunier alexandre.saunier at camptocamp.com
Fri Jan 20 09:05:20 EST 2006


Paul,

first of all: your files should not be in the root server_conf/ but 
within your project directory.

If you named your project "myProject", you should only add your files in
c:\wamp\www\cartoweb3\projects\myProject.

For instance:
c:\wamp\www\cartoweb3\projects\myProject\server_conf\myProject\myProject.ini

By the way, it is not recommended to use kind-of-reserved names (such as 
"map") in your projects and files names. Otherwise you may experience 
some conflicts.

AS

Paul Shapley wrote:
> Hi All,
>  
> Any ideas about this one. A Map file error possibly or somewhere 
> else?..........
>  
> *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)


More information about the Cartoweb-users mailing list