PHP/Mapscript + layer

Philippe Gondek philippe.gondek at GMAIL.COM
Wed May 11 06:51:17 PDT 2005


Hi,

I have a problem. I can create a map with

   $map = ms_newMapObj("miam.map"); 

But when I try to call

   $layer = ms_newLayerObj($map); or $layer = $map->getLayerByName(REGIONS);

I have an Internal Server Error 500 in my Web Browser

And in the log of Apache I have:

   [Wed May 11 15:21:01 2005] [error] [client 127.0.0.1] Premature end
of script headers: php-cgi

I can view the variables of $map...

Can you help me???



More information about the MapServer-users mailing list