MapServer 5.0 demo problem

Fawcett, David David.Fawcett at STATE.MN.US
Thu Jan 31 11:54:02 PST 2008


Jill, 

It looks like you need to modify your map file.  You need to change the
value for imagepath to reflect the path to your mapserver temp
directory.  The value should likely be "C:\ms4w\tmp\ms_tmp" or
"C:\ms4w\tmp".  

David.

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Jill Recla
Sent: Thursday, January 31, 2008 1:19 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] MapServer 5.0 demo problem


Hi everyone,

I decided to uninstall everything I had and start from scratch.  I 
installed MS4W with MapServer 5.0 and am now trying to get the 5.x demo 
to work.  MapServer and all of the other MS4W components are working 
properly, and the initial index.html page loads.  When I try to 
initialize the webpage, however, I get this error:

msSaveImageGD(): Unable to access file. Unable to open file 
/usr/local/www/docs_maps/tmp/ITASCA12018069395076.png for writing

I have changed my index.html file to look like this:

<!-- EDIT THE FORM ACTION -->
    <form name="demo" method="GET" action="/cgi-bin/mapserv.exe" 
onSubmit="configure()">

      <input type="hidden" name="layer" value="lakespy2">
      <input type="hidden" name="layer" value="dlgstln2">
      <input type="hidden" name="zoomsize" value=2>
      <input type="hidden" name="map_web" value="">

      <!-- EDIT THESE HIDDEN VARIABLES -->
      <input type="hidden" name="map" 
value="C:/ms4w/Apache/htdocs/workshop-5.0/itasca.map">
      <input type="hidden" name="program" value="/cgi-bin/mapserv.exe">
      <input type="hidden" name="root" 
value="C:/ms4w/Apache/htdocs/workshop-5.0/">

Does anyone know how to fix this??  There must be something simple I'm 
not changing, but I can't figure out what it is.....

Thanks,
Jill

-- 
*****************************************************
*****Jill M. Recla****UMaine Functional Genomics*****
***jill.recla at jax.org*****************906-282-8033***
*****************************************************



More information about the MapServer-users mailing list