[Mapserver-users] PHP can't find map file

Daniel Morissette morissette@dmsolutions.ca
Fri, 05 Dec 2003 09:18:12 -0500


Abram Gillespie wrote:
> I can't seem to get PHP to find the example europe.map file.  I've tried 
> relative and absolute paths, tried giving "others" rwx permissions, 
> etc.  This is the error I get:
> 
> 
> Warning: [MapServer Error]: msLoadSymbolSet(): (../symbols/symbols.sym) 
> in /Users/abe/Sites/ms_test/example2.php on line 14
> 
> Warning: Failed to open map file /Users/abe/Sites/ms_test/europe.map in 
> /Users/abe/Sites/ms_test/example2.php on line 14
> 

MapScript does find the mapfile.  The error is that it cannot find 
"../symbols/symbols.sym" which is referenced in the mapfile. When you 
copy a mapfile you need to make sure that you copy the symbolset and 
fontset with it, or update the paths accordingly inside the mapfile.

-- 
------------------------------------------------------------
  Daniel Morissette               morissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users