[mapserver-users] plz response immediate(msSaveImageGD(): Unable to open file for writing)
Jérôme Martin
gooogle at free.fr
Sun Jan 25 10:25:12 PST 2009
Hi, when i see your error, I immediatly think you have a problem access
for temp file creation, because maybe you don't have a valid ./../temp/
folder.
So i suggest your add to your mapfile this :
IMAGEPATH "c:\temp\"
or whatever folder where you are sure the access is not restricted for
anyone.
Personally I were on Linux when i worked on mapserver, but this option
was really important when you are in embedded system, because you don't
have to access on the system, which is mapped on special memory card (no
harddrive). So we had to write on a different memory card which support
many write access by mounting it on a special folder, which were used
with the IMAGEPATH option.
regards,
Jérôme Martin
Amiya Patra a écrit :
> Hi,
>
> Thanks for reply. I tried all those steps found at the URL which you
> sent. But, still it's not working. The same file works fine in Linux.
> I got the following error:
>
> *Warning*: [MapServer Error]: msSaveImageGD(): Unable to open file
> ./../temp/363403.gif for writing in
> *C:\ms4w\Apache\htdocs\data\xy.php* on line *578*
>
> *Fatal error*: Failed writing image to ./../temp/363403.gif in
> *C:\ms4w\Apache\htdocs\data\xy.php* on line *578
>
> *Please, help me regarding this.
>
> Thanks.
>
> Regards,
> Amiya.
>
>
> On Mon, Jan 19, 2009 at 7:49 PM, Alan Boudreault
> <aboudreault at mapgears.com <mailto:aboudreault at mapgears.com>> wrote:
>
> Try this:
> http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permissions-in-windows-vista/
>
> Alan
>
>
> Amiya Patra wrote:
> > hi
> > Thanks 4 reply.but already I have tried that but no result.
> Actually
> > I want to know how to change the ownership of that folder...I
> have to
> > change the ownership to apache user and then needs to give
> > permission......
> >
> > On Mon, Jan 19, 2009 at 7:27 PM, muzaffar hussain
> > <mhd.muzaffar at gmail.com <mailto:mhd.muzaffar at gmail.com>
> <mailto:mhd.muzaffar at gmail.com <mailto:mhd.muzaffar at gmail.com>>>
> wrote:
> >
> > hi
> >
> > right click on the folder,then select the property and
> change the
> > read and write option to its folder and to its sub folder.
> >
> > regards
> > muzaffar
> >
> > On Mon, Jan 19, 2009 at 7:12 PM, Amiya Patra
> > <amiyapatra188 at gmail.com <mailto:amiyapatra188 at gmail.com>
> <mailto:amiyapatra188 at gmail.com <mailto:amiyapatra188 at gmail.com>>>
> wrote:
> >
> > Hi
> > I got the error but unable to solve.The apache user don have
> > permision to write to that folder .In windows how I will
> check
> > wheather apache user can write to that folder. Actually in
> > linux my application is running ok. but in windows vista, I
> > cant find the daemon apache user as in httpd.conf file
> > "daemon" is mentioned as usr and group. But how I will give
> > permission to this user for writing to that folder. Please
> > help immediate......
> >
> > Thanks..........and hope positive immidiate response
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> > <mailto:mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>>
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
>
> --
> Alan Boudreault
> Mapgears
> http://www.mapgears.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list