On 30/06/2009 09:12, Roberto García Rodríguez wrote:
> Hello all, im from spain, so if you write in spanish language it's better for 
> me.
> Sorry for my english, i think that it's very bad.
> 
> I downloaded the last stable version of p.mapper, i installed it and the 
> message of "Loading" not disappear.
> I installed firebug and Ajax request have an error:
> 
> The direction: 
> http://saih2/pmapper/incphp/xajax/x_load.php?&mapW=720&mapH=48&zoom_type=zoompoint&dummy=dummy
> 
> The response
> <br />
> <b>Warning</b>:  [MapServer Error]: msDrawMap(): Failed to draw layer named 
> 'countries'.
>  in <b>C:\ms4w\Apache\htdocs\pmapper\incphp\map.php</b> on line <b>304</b><br 
> />
> <br />
> <b>Warning</b>:  [MapServer Error]: msShapefileOpen(): 
> (C:/ms4w/Apache/htdocs/pmapper/config/default
> /countries)
>  in <b>C:\ms4w\Apache\htdocs\pmapper\incphp\map.php</b> on line <b>304</b><br 
> />
> <br />
> <b>Warning</b>:  [MapServer Error]: msShapefileOpen(): 
> (C:/ms4w/Apache/htdocs/pmapper/config/default
> /../../../pmapper_demodata/countries)
>  in <b>C:\ms4w\Apache\htdocs\pmapper\incphp\map.php</b> on line <b>304</b><br 
> />
> <br />
> <b>Fatal error</b>:  Call to a member function saveImage() on a non-object in 
> <b>C:\ms4w\Apache\htdocs
> \pmapper\incphp\common.php</b> on line <b>245</b><br />
> 
> Anyone can help me?
> thank you very much
> 

The error states that the path to the shapefile data is not correct. 
Normally a standard MS4W installation should have correct paths set. 
Check the map file if the combination of SHAPEPATH under WEB and DATA 
under the layer countries is correct, i.e. that the data are there and 
can be read.

In your example the pmapper files are under 'C:/ms4w/Apache/htdocs/'. 
The default is 'C:/ms4w/apps'. So I don't have a clue why you copied 
them there where they are now...

The installation of pmapper for MS4W is plain simple: just copy the 
'ms4w' folder to c:\ where the 'ms4w' from the main package already 
exists.

armin



------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to