Never mind- worked it out with a string of edits. Part of it was changing "new mapObject" to "ms_newMapObject".
________________________________ From: Bistrais, Bob Sent: Tuesday, February 07, 2012 1:29 PM To: [email protected] Subject: [mapserver-users] Problem with mapfile path in MS 6.0.1 I'm trying to migrate an application from 5.6 to 6.0.1. The basic HTML loads correctly, but it is having trouble finding the path to the mapfile. Here are two lines of code specifying the map path and file: $_SESSION['map_path']="/ms4w_303/apps/mgs/maps/"; $_SESSION['map_file']="ipmapp1_local_enhanced.map"; And when I try to load the app, here is the error: Warning: mapObj::__construct(): [MapServer Error]: msProcessProjection(): No such file or directory in C:\ms4w_303\apps\mgs\htdocs\drawMap.php on line 219 Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to open map file /ms4w_303/apps/mgs/maps/ipmapp1_local_enhanced.map' in C:\ms4w_303\apps\mgs\htdocs\drawMap.php:219 Stack trace: #0 C:\ms4w_303\apps\mgs\htdocs\drawMap.php(219): mapObj->__construct('/ms4w_303/apps/...') #1 {main} thrown in C:\ms4w_303\apps\mgs\htdocs\drawMap.php on line 219 I triple-checked the path and I know this to be correct. The application had the same file and path structure in 5.6. I'm checking permissions but as far as I can tell these are OK.
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
