[mapserver-users] PHP mapscript - browser showing blank page
kapilmanoj
kmanoj-pg7 at iiitmk.ac.in
Tue Mar 3 03:06:40 PST 2009
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
>
>
--
View this message in context: http://n2.nabble.com/PHP-mapscript---browser-showing-blank-page-tp2408448p2414557.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list