[mapserver-users] PHP mapscript - browser showing blank page

Pietro Giannini pgiannini at bytewise.it
Tue Mar 3 06:13:35 EST 2009


Kapilmanoj, check the extent of your data sources.
Maybe you set wrong extent in map file, so the layers are visible but no 
data overlays the defined "window".
bye
.......pg

kapilmanoj ha scritto:
> 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:
>   
>> Hi Kapilmanoj,
>>
>> 1) maybe it is an error on
>>     IMAGECOLOR 256 255 255
>>     the first integer must be <= 255.
>>     if not:
>>
>> 2) try to intercept mapserver errors calling the map image in cgi mode:
>>     
>> http://localhost/cgi-bin/mapserv?map=/path/to/kerala.map&mode=map&layer=kerala&layer=modis_jpl&layer=...
>>     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:
>>     
>>> 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
>>>
>>> http://localhost/mapfiles/sampletest/htdocs/kerala.php
>>>
>>>
>>>  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
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>   
>>>       
>> -- 
>> Pietro Giannini
>> Bytewise srl - Area GIS
>> 41°50'38.58"N 12°29'13.39"E
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>>     
>
>   


-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090303/e9d60f0a/attachment-0001.html


More information about the mapserver-users mailing list