PHP MapScript, ms_newMapObj error, Failed to open map file

Daniel Morissette dmorissette at MAPGEARS.COM
Mon Feb 19 17:11:14 EST 2007


Doug B wrote:
> 
> [Mon Feb 19 14:14:57 2007] [error] [client 32.86.231.32] PHP Warning:
> [MapServer Error]: getString(): Parsing error near (none):(line 109)
> [Mon Feb 19 14:14:57 2007] [error] [client 32.86.231.32]  in
> /var/www/html/offender/map.php on line 75


There is an error parsing the map file near keyword "none" (probably 
just before) around line 109 in the map file, probably related to 
something that changed in the mapfile parser between MapServer 4.2 and 4.8.

My guess is that MapServer is expecting a string but it's finding the 
keyword NONE. You may need to add quotes around the "none".

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-users mailing list