[Chameleon] Another Chameleon error

Julien-Samuel Lacroix jlacroix at mapgears.com
Wed Mar 15 10:05:06 EST 2006


Hi,
In your Fjord layer, the path to the data is data/Fjord. However your 
SHAPEPATH is already defining the data directory as the default one. So 
like the error messages tells you, MapServer is trying to read your data 
  there:
C:/ms4w/apps/ChameleonApp/map/data/Fjord.shp
C:/ms4w/apps/ChameleonApp/map/../data/data/Fjord.shp

I suppose those does not exist.

Julien

Hugo Girard wrote:
> Chameleon work but my map doesnt load. Here the errors :
>  
> 
> *Warning*: [MapServer Error]: msDrawMap(): Failed to draw layer named 
> 'Fjord'. in *C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php* 
> on line *533*
> 
> *Warning*: [MapServer Error]: msSHPOpenFile(): 
> (C:/ms4w/apps/ChameleonApp/map/data/Fjord.shp) in 
> *C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php* on line *533*
> 
> *Warning*: [MapServer Error]: msSHPOpenFile(): 
> (C:/ms4w/apps/ChameleonApp/map/../data/data/Fjord.shp) in 
> *C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php* on line *533*
> 
> *Warning*: Cannot modify header information - headers already sent by 
> (output started at 
> C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php:533) in 
> *C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php* on line *1476*
> ‰PNG 
>  
> Someone can help me to solve that !!!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list