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

Pietro Giannini pgiannini at bytewise.it
Mon Mar 2 08:16:52 EST 2009


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

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


More information about the mapserver-users mailing list