<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Kapilmanoj,<br>
<br>
1) maybe it is an error on<br>
&nbsp;&nbsp;&nbsp; IMAGECOLOR 256 255 255<br>
&nbsp;&nbsp;&nbsp; the first integer must be &lt;= 255.<br>
&nbsp;&nbsp;&nbsp; if not:<br>
<br>
2) try to intercept mapserver errors calling the map image in cgi mode:<br>
&nbsp;&nbsp;&nbsp;
<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/mapserv?map=/path/to/kerala.map&mode=map&layer=kerala&layer=modis_jpl&layer=">http://localhost/cgi-bin/mapserv?map=/path/to/kerala.map&amp;mode=map&amp;layer=kerala&amp;layer=modis_jpl&amp;layer=</a>...<br>
&nbsp;&nbsp;&nbsp; if it works,<br>
<br>
3) see the php_errors log file (set in php.ini, error_log directive).<br>
<br>
bye <br>
.................pg<br>
<br>
kmanoj-pg7 kmanoj-pg7 ha scritto:
<blockquote
 cite="mid:9ab9b8cf0903020230n5c7d6d09y576608f2ade3b7b7@mail.gmail.com"
 type="cite">Dear users,<br>
  <br>
I am using&nbsp; mapserver 5.0.3 , php 5.2.5 version on fedora 9. I am
trying to work out the examples given in the mapserver site, but i am
getting the blank page when i call the link through browser<br>
  <br>
  <a moz-do-not-send="true"
 href="http://localhost/mapfiles/sampletest/htdocs/kerala.php">http://localhost/mapfiles/sampletest/htdocs/kerala.php</a><br>
  <br>
  <br>
&nbsp;Mapscript is working fine without making any problem, but when i
trying to import mapfile in PHP and cascade it through the mapserver,
it rendering blank page in the browser.<br>
i think it could be a problem of extent. <br>
  <br>
Herewith i am attaching my mapfile and php file for your kind perusal<br>
  <br>
can anyone please puzzled out this problem.<br>
  <br>
suggestion will be appreciated.<br>
  <br>
Thanks,<br>
kapilmanoj<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Pietro Giannini
Bytewise srl - Area GIS
41&deg;50'38.58"N 12&deg;29'13.39"E</pre>
</body>
</html>