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

Bistrais, Bob Bob.Bistrais at maine.gov
Wed Dec 28 11:20:29 EST 2011


When I try to get the mapfile in cgi mode, a different error appears:

loadSymbol(): Unknown identifier. Parsing error near (STYLE):(line 6)

 

________________________________

From: Lime, Steve D (DNR) [mailto:Steve.Lime at state.mn.us] 
Sent: Wednesday, December 28, 2011 11:00 AM
To: Bistrais, Bob; mapserver-users at lists.osgeo.org
Subject: RE: failed to open map file - MS 6.0 to 6.0.1

 

Nothing should have to be done. 6.0.1 was primarily a security update.
Can you try accessing the mapfile

outside PHP with shp2img or mapserv itself?

 

Steve

 

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Wednesday, December 28, 2011 9:56 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] failed to open map file - MS 6.0 to 6.0.1

 

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/e1ad4314/attachment.html


More information about the mapserver-users mailing list