[mapserver-users] mapserver on apache

Gert-Jan van der Weijden gert-jan.van.der.weijden at aris.nl
Thu Apr 19 06:48:22 EDT 2001


While running my mapscript application my I get the following error:

Warning: MapServer Error in msLoadMap(): ():(0) in
/project/webmap/www/pag/mapfile.php on line 44

Fatal error: Failed to open map file /project/webmap/www/pag/wm12.map in
/project/webmap/www/pag/mapfile.php on line 44

This error occurs the fourth of fifth time I make a map-request.
The line reads:
$map = ms_newMapObj ("/pag/wm12.map");

Others PHP pages (without MapScript) work fine.
opening the file wm12.map with PHP functions (fopen, fread and fclose), 
just before the error-line work fine as well!

Has it something to do with Apache-caching ?
 
I'm running:
RedHat 6.1, Apache 1.3.19;
PHP 4.0.4pl1 statically linked into httpd;
Mapscript 3.4 (GD 1.8, FreeType, EPPLY - JPEG -OGR)

Gert-Jan

-- 
Gert-Jan van der Weijden
________________________________________________________

ARIS - Adviesburo voor Ruimtelijke Informatie Systemen
       Hooghiemstraplein 126    Tel.   +31-(0)30-2769180
       3514 AZ  UTRECHT         Fax.   +31-(0)30-2733578
       The Netherlands          E-mail gert-jan.van.der.weijden at aris.nl
                                Http://www.aris.nl
________________________________________________________



More information about the mapserver-users mailing list