[fusion-users] Re: Unable to display map using fusion

Zac Spitzer zac.spitzer at gmail.com
Tue Apr 10 03:22:11 EDT 2012


can you post your applicationDefinition xml ?

On Tue, Apr 10, 2012 at 5:17 PM, badrul <badruls007 at yahoo.com> wrote:
> 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.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the fusion-users mailing list