[Mapserver-users] PHP can't find map file
Daniel Morissette
morissette at dmsolutions.ca
Fri Dec 5 06:18:12 PST 2003
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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list