[mapserver-users] failed to open map file - MS 6.0 to 6.0.1

Bistrais, Bob Bob.Bistrais at maine.gov
Wed Dec 28 10:55:47 EST 2011


I'm trying to upgrade some MapServer applications which were originally
written before MS 6.0.  These had been migrated to 6.0, now I am trying
to upgrade them to 6.0.1.  I would have thought nothing needed to be
done, but when I try to view these applications, I get the following
error message:

 

Warning: ms_newMapObj(): [MapServer Error]: msLoadMap():
(../maps/mymap.map) in C:\ms4w\apps\mgs\htdocs\drawMap.php on line 218
Fatal error: Uncaught exception 'MapScriptException' with message
'Failed to open map file "../maps/mymap.map"' in
C:\ms4w_303\apps\mgs\htdocs\drawMap.php:218 Stack trace: #0
C:\ms4w\apps\mgs\htdocs\drawMap.php(218):
ms_newMapObj('../maps/mymap...') #1 {main} thrown in
C:\ms4w\apps\mgs\htdocs\drawMap.php on line 218

 

-I checked the obvious, such as permissions, paths, etc, but not able to
figure out what's going wrong here.  As mentioned, it works OK in MS
6.0.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111228/b99ab086/attachment.html


More information about the mapserver-users mailing list