saveWebImage() error in php application

orkun temiz at DEPREM.GOV.TR
Fri May 6 09:47:22 EDT 2005


Paul Spencer wrote:

> Ahmet
>
> the error messages indicate that you have a layer named 'fay' that is
> using a shapefile kara_fay2 that it cannot find.
>
> Make sure this shapefile exists in /usr/local/karabuk_data/kara_fay2
> and that this directory is readable by your apache user.
>
> If yes to all of these, then perhaps your shapefile is corrupt in some
> way.  Try opening it in some other way (ogrinfo perhaps?)
>
> Paul
>
> orkun wrote:
>
>> *hello
>>
>> I couldn't overcome these problems:
>>
>> Warning*: [MapServer Error]: msDrawMap(): Failed to draw layer named
>> 'fay'. in */var/www/cgi/mapd1.php* on line *402*
>>
>> *Warning*: [MapServer Error]: msSHPOpenFile():
>> (/var/www/cgi/./kara_fay2) in */var/www/cgi/mapd1.php* on line *402*
>>
>> *Warning*: [MapServer Error]: msSHPOpenFile():
>> (/usr/local/karabuk_data/kara_fay2) in */var/www/cgi/mapd1.php* on line
>> *402*
>>
>> *Fatal error*: Call to a member function saveWebImage() on a non-object
>> in */var/www/cgi/mapd1.php* on line *403
>>
>> *what might lead these problems ?
>>
>> thanks in advance
>>
>> Ahmet Temiz
>>
>> ______________________________________
>> XamimeLT - installed on mailserver for domain @deprem.gov.tr
>> Queries to: postmaster at deprem.gov.tr
>> ______________________________________
>> The views and opinions expressed in this e-mail message are the
>> sender's own
>> and do not necessarily represent the views and the opinions of
>> Earthquake Research Dept.
>> of General Directorate of Disaster Affairs.
>>
>> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal
>> olarak T.C.
>> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici
>> nitelikte degildir.
>>
>
thank you for your interest

I gave permission to local user which I am now working on.
But I had changed to www-data and nobody.
I made chmod a+x chmod a+r to all file.
I could not see the maps.

regards


______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster at deprem.gov.tr
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.



More information about the mapserver-users mailing list