[mapserver-users] Fwd: facing problem in displaying map using mapserver

Stephen Woodbridge woodbri at swoodbridge.com
Thu May 3 05:38:40 PDT 2012


First, it is best to sent request to the list. If you are not signed up 
signup here: mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Second, the reason for 1  is that I have not used php mapscript in ages 
and I don't use windows very much and I have never used fusion. So on 
the list there is a better chance that you will find someone from the 
many users that can help you.

Also there are lists specifically for MS4W and I'm guessing also for 
fusion which might be better than the general mapserver list. You can 
test you mapfile directly in mapserver with shp2img utility to validate 
your mapfile. If this doesn't throw an error then it is likely that you 
have errors in your fusion configuration and need to talk to the fusion 
list for help with that.

-Steve

-------- Original Message --------
Subject: facing problem in displaying map using mapserver
Date: Thu, 03 May 2012 02:21:36 -0700
From: badruls007 at yahoo.com
To: woodbri at swoodbridge.com

Hi Stephen,

I have recently started working on GIS stuff, i have created mapfiles 
and for
displaying them i am using fusion as an interface. I have modified
ApplicationData.xml and updated <MapFile> tag with path where my mapfile is
saved on my computer, but the problem is its not displaying any map, i
checked error file and it contains following:

[Mon Apr 09 12:30:15 2012] [error] [client 127.0.0.1]  thrown in
C:\\ms4w\\apps\\fusion\\MapServer\\php\\LoadMap.php on line 129, referer:
http://localhost/fusion/templates/mapserver/standard/index.html

[Mon Apr 09 12:30:16 2012] [error] [client 127.0.0.1] PHP Fatal error:
Uncaught exception 'MapScriptException' with message 'Property 'imagetype'
does not exist in this object.' in
C:\\ms4w\\apps\\fusion\\MapServer\\php\\LoadMap.php:129, referer:
http://localhost/fusion/templates/mapserver/standard/index.html

[Mon Apr 09 12:30:16 2012] [error] [client 127.0.0.1] Stack trace:, referer:
http://localhost/fusion/templates/mapserver/standard/index.html

[Mon Apr 09 12:30:16 2012] [error] [client 127.0.0.1] #0
C:\\ms4w\\apps\\fusion\\MapServer\\php\\LoadMap.php(129):
mapObj->__get('imagetype'), referer:
http://localhost/fusion/templates/mapserver/standard/index.html

[Mon Apr 09 12:30:16 2012] [error] [client 127.0.0.1] #1 {main}, referer:
http://localhost/fusion/templates/mapserver/standard/index.html

[Mon Apr 09 12:30:16 2012] [error] [client 127.0.0.1]  thrown in
C:\\ms4w\\apps\\fusion\\MapServer\\php\\LoadMap.php on line 129, referer:
http://localhost/fusion/templates/mapserver/standard/index.html

I have been stuck with this problem for a week now, i am feeling totally
clueless about how to proceed, any help from your side will be apreciated.

Thanks and Regards

Badrul



More information about the MapServer-users mailing list