<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>For the time being you should only care for the Fatal Error. The
rest are warnings which have to do with some settings in the mapfile.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Don&#8217;t use PHP I am afraid so I don&#8217;t know whether
you are using it correctly. Does the actual folder set in your IMAGEPATH /home/kapil/FGS-MAPSERVER/tmp/ms_tmp/
exists?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>And do you get the same fatal error if you use the mapserv cgi? e.g
http://localhost/cgi-bin/mapserv?map=</span> <span style='font-size:9.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>/home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.map&amp;mode=map<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Pano<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> kapil manoj [mailto:manojkapil06@gmail.com]
<br>
<b>Sent:</b> 05 May 2009 15:46<br>
<b>To:</b> Pano Voudouris<br>
<b>Subject:</b> Re: [mapserver-users] PHP Mapscript - Displaying only image
colour except the existing layers<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>hi pano,<br>
<br>
i have received the following error after changing the status of the layers to
both DEFAULT or ON<br>
<br>
Warning: [MapServer Error]: msGetLabelSize(): Requested font (arial-bold) not
found. in
/home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on
line 6<br>
<br>
Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index
for /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/data/parl_04.qix.
In most cases you can safely ignore this message, otherwise check file names
and permissions. in
/home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on
line 6<br>
<br>
Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index
for /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/data/parl_04.qix.
In most cases you can safely ignore this message, otherwise check file names
and permissions. in /home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php
on line 6<br>
<br>
Fatal error: Call to a member function saveWebImage() on a non-object in
/home/kapil/FGS-MAPSERVER/www/htdocs/mapfiles/sampletest/htdocs/test.php on
line 7<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<br>
what should i do now?<o:p></o:p></p>

</div>

</div>

<div id=":1zp">

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>On Tue, May 5, 2009 at 6:00 PM,
Pano Voudouris &lt;<a href="mailto:pvoudouris@gaiocorp.com">pvoudouris@gaiocorp.com</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>Both your layer have their STATUS
set to OFF. Try setting them to ON or<br>
DEFAULT<br>
<span style='color:#888888'><br>
Pano</span><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><br>
-----Original Message-----<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a><br>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>]
On Behalf Of zizu<br>
Sent: 05 May 2009 14:00<br>
To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: [mapserver-users] PHP Mapscript - Displaying only image colour<br>
except the existing layers<br>
<br>
<br>
Dear users,<br>
<br>
I am using FGS-Mapserver, its a stand alone environment on fedora 9. i have<br>
successfully play mapserver through cgi, there is absolutely no problem with<br>
that. Now am trying to play PHP-Mapscript , example given in the tutorial.<br>
The problem am encountering right now is when i run the php file through<br>
browser<br>
<br>
<a href="http://localhost:8080/mapfiles/sampletest/htdocs/test.php"
target="_blank">http://localhost:8080/mapfiles/sampletest/htdocs/test.php</a><br>
<br>
<br>
Luckily the image colour of the map is displaying but the layers of the map<br>
is not displaying... &nbsp;herewith am attaching the screen shot of that
page....<br>
<br>
am also attaching both the map file and php file for your view.....<br>
<br>
what could be a problem..... &nbsp; please help me out..<br>
<br>
tips will be appreciated....<br>
<a href="http://n2.nabble.com/file/n2792269/Screenshot.png" target="_blank">http://n2.nabble.com/file/n2792269/Screenshot.png</a>
Screenshot.png<br>
<br>
<a href="http://n2.nabble.com/file/n2792269/test.map" target="_blank">http://n2.nabble.com/file/n2792269/test.map</a>
test.map<br>
<br>
<a href="http://n2.nabble.com/file/n2792269/test.php" target="_blank">http://n2.nabble.com/file/n2792269/test.php</a>
test.php<br>
<br>
many thanks,<br>
zizu<br>
<br>
<br>
--<br>
View this message in context:<br>
<a
href="http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the%0A-existing-layers-tp2792269p2792269.html"
target="_blank">http://n2.nabble.com/PHP-Mapscript---Displaying-only-image-colour-except-the<br>
-existing-layers-tp2792269p2792269.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>