[Mapserver-users] Re: mapscript

Vinko Vrsalovic vinko at cprsig.cl
Mon Mar 15 21:26:53 PST 2004


Is your mapserver binary compiled with GIF support?

Is the directory shown writable by your web server?

I'd vote for the first option, try using JPEG instead of GIF.



On Mon, Mar 15, 2004 at 04:28:44PM -0500, Lowell Filak wrote:
> This sounds familiar but I'm uncertain so I am forwarding the question
> to the list for a professional opinion(s).
> 
> Lowell
> 
> The following message was sent by =?iso-8859-1?q?divya=20ganjoo?=
> <dg_113 at yahoo.co.in> on Mon, 15 Mar 2004 06:51:36 +0000 (GMT).
> 
> > Dear Mr. Lowell Filak,
> > I am new to mapscript and i am facing a problem when i run my
> project.Kindly help me out.
> > I am using PHP script.
> > When i run my project i get the following error:
> > Warning: MapServer Error in msSaveImage():
> (c:\inetpub\wwwroot\tmp\107932773222001.gif)
> >  in c:\inetpub\wwwroot\pune1\gmap\htdocs\gmap\htdocs\map.php3 on line 781
> > Fatal error: Failed writing image to
> c:\inetpub\wwwroot\tmp\107932773222001.gif 
> > in c:\inetpub\wwwroot\pune1\gmap\htdocs\gmap\htdocs\map.php3 on line 781
> > 
> > The line no. 781 in map.php3 goes like this:
> > $url = $img->saveWebImage($gAppletImgFmt, 0, 0, -1);
> > Can u tell me why am i facing this kinda error.Please help me out.
> >  
> > Thankyou and have a nice day,
> > Kindly reply soon.
> >  
> > Divya.
> > dg_113 at yahoo.co.in
> > divyaganjoo at hotmail.com
> > 
> > Yahoo! India Insurance Special: Be informed on the best policies,
> services, tools and more.
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the MapServer-users mailing list