[mapserver-users] Point layers and php_mapscript 3.5

Beau Gunderson bludwulf at crackrock.net
Thu Jul 26 00:06:01 PDT 2001


I had the same problem. In my case it was because there was nothing at all
in the layer. I see you don't have a DATA entry, and you didn't say
anything about adding points to the layer in php or perl. Check your
apache error log for details about most errors where the page won't even
display. It's usually in /usr/local/apache/logs/error_log. =)

-Beau Gunderson

On Wed, 25 Jul 2001, Vinko Vrsalovic B. wrote:

>
> Last message of the night:
>
> I have this layer on my map file:
>
>  LAYER
>     NAME clicks
>     TYPE POINT
>     STATUS OFF
>     CLASS
>       SYMBOL circle
>       SIZE 1
>     END
>   END
>
> All the other functionality works, except when I turn on this layer, either
> via
>
> $l_clicks=$map->getLayerByName("clicks");
> $l_clicks->set("status",1)
>
> or via putting STATUS ON on the map file.
>
> When I activate it, it crashes and a 'can't display page' page appears.
>
> It worked on perl mapscript 3.4 (I couldn't compile php_mapscript 3.4 because
> of a sed unterminated 's' command on conftest.s1 line 74)
>
> Any help is really appreciated.
>




More information about the MapServer-users mailing list