hello all.

we just upgraded our mapserver installation to mapserver-5.0.3 (current
stable i believe). we're running on a gentoo machine with apache 2.2.9 and
php 5.2.6RC4

it seems that some old code that uses mapscript  has stopped working.
specifically:

dl('php_mapscript.so');
...
$map = ms_newMapObj("some_mapfile.map");
$layer = ms_newLayerObj($map);
$layer->set("name", "layer1");
....

throws the following error:

Fatal error: Call to undefined method ms_layer_obj::set()

has anyone else experienced this or does anyone have any suggestions on how
to fix it?

thanks in advance.

ak
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to