[fusion-users] Re: Unable to display map using fusion
badrul
badruls007 at yahoo.com
Tue Apr 10 03:17:33 EDT 2012
Thanks Mike and zac, as advised by you i installed latest version of fusion
i.e. fusion 2.2.0, but after doing the needful configuration i am still
getting following errors and no map is being displayed
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] PHP Warning:
ms_newMapObj(): [MapServer Error]: msLoadMap(): First token must be MAP,
this doesn't look like a mapfile., referer:
http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] in
C:\\ms4w\\apps\\fusion\\layers\\MapServer\\php\\LoadMap.php on line 77,
referer: http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] PHP Fatal error:
Uncaught exception 'MapScriptException' with message 'Failed to open map
file "/ms4w/Apache/htdocs/gmap/htdocs/gmap75.map"' in
C:\\ms4w\\apps\\fusion\\layers\\MapServer\\php\\LoadMap.php:77, referer:
http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] Stack trace:, referer:
http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] #0
C:\\ms4w\\apps\\fusion\\layers\\MapServer\\php\\LoadMap.php(77):
ms_newMapObj('/ms4w/Apache/ht...'), referer:
http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] #1 {main}, referer:
http://localhost/fusion/templates/mapserver/standard/index.html
[Tue Apr 10 12:23:46 2012] [error] [client 127.0.0.1] thrown in
C:\\ms4w\\apps\\fusion\\layers\\MapServer\\php\\LoadMap.php on line 77,
referer: http://localhost/fusion/templates/mapserver/standard/index.html
Line 77 in LoadMap.php is
$oMap = ms_newMapObj($szMapFile);
I also want to know inorder to display my own map, where should i store my
mapfiles and which files i need to configure.
I once again appreciate you for paying heed to my thread
-----
Thanks & Regards
Badrul
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Unable-to-display-map-using-fusion-tp4715312p4724430.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list