[mapserver-users] MapServer Demo

Fawcett, David David.Fawcett at state.mn.us
Tue May 26 14:42:45 EDT 2009


Chris, 
 
Try snippet += " IMAGEURL '/tmp/'
 
David.

	-----Original Message-----
	From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Chris
Green
	Sent: Tuesday, May 26, 2009 11:56 AM
	To: mapserver-users at lists.osgeo.org
	Subject: [mapserver-users] MapServer Demo
	
	

	Hi All

	 

	I have a problem that I can see has been experienced by others,
but the advice given to those others does not fix my problem. I have
successfully installed Map Server and Apache onto winXP using ms4W, and
downloaded the Demo. I put the workshop-5.0 directory in the
Apache.htdocs directory, and I have modified the index.html file and
Itasca.map files in what seems to be a logical way. 

	 

	My problem is that when I launch the application I get the error
message: "msSaveImageGD(): Unable to access file. Unable to open file
/C:/ms4w/tmp/ms_tmp/ITASCA12433555452596.png for writing". It seems that
this is related to the way that I modified the index.html file, which I
did as follows:

	 

	  var snippet = "IMAGEPATH '/C:/ms4w/tmp/ms_tmp/'";

	        snippet += " IMAGEURL '/ms-tmp/'";

	 

	I have been tearing my hair out for a few hours trying to see
what I have done wrong. Anyone got any suggestions please?

	 

	 

	Chris Green 

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090526/2bb4b7d5/attachment.html


More information about the mapserver-users mailing list