MapServer 5.0 demo problem

Pericles S. Nacionales naci0002 at UMN.EDU
Thu Jan 31 17:07:21 EST 2008


Jill,

The IMAGEPATH and IMAGEURL variables are defined in the Javascript code 
near the top of index.html.  Change the paths there and you should be set.

-Perry

Fawcett, David wrote:
> 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
>
>   



More information about the mapserver-users mailing list