<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kapilmanoj, check the extent of your data sources.<br>
Maybe you set wrong extent in map file, so the layers are visible but
no data overlays the defined "window".<br>
bye<br>
.......pg<br>
<br>
kapilmanoj ha scritto:
<blockquote cite="mid:1236078400910-2414557.post@n2.nabble.com"
 type="cite">
  <pre wrap="">Hi pietro,

 As you suggested me, i checked the error_log file , there is no such error
related to php. Actually in my case, its projecting the imagecolor 256 255
255 , the faded green color with the respective width and height in the
browser,  but it not showing up the map layers . its stumbling.

what could be a problem?
can you probe this problem?

thanks.
kapilmanoj 

Pietro Giannini wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Kapilmanoj,

1) maybe it is an error on
    IMAGECOLOR 256 255 255
    the first integer must be &lt;= 255.
    if not:

2) try to intercept mapserver errors calling the map image in cgi mode:
    
<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>...
    if it works,

3) see the php_errors log file (set in php.ini, error_log directive).

bye
.................pg

kmanoj-pg7 kmanoj-pg7 ha scritto:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Dear users,

I am using  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

<a class="moz-txt-link-freetext" href="http://localhost/mapfiles/sampletest/htdocs/kerala.php">http://localhost/mapfiles/sampletest/htdocs/kerala.php</a>


 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.
i think it could be a problem of extent.

Herewith i am attaching my mapfile and php file for your kind perusal

can anyone please puzzled out this problem.

suggestion will be appreciated.

Thanks,
kapilmanoj

------------------------------------------------------------------------

_______________________________________________
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>
    <pre wrap="">
-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E


_______________________________________________
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>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E</pre>
</body>
</html>