[mapserver-users] php_mapscript 363 not working properly (was Re: getAllLayerNames not working)
Puneet Kishor
pkishor at geoanalytics.com
Wed Oct 30 07:29:23 PST 2002
I haven't yet recd. any suggestions on this, but have further info that
might help some gooroo diagnose this for me. It gets curiouser and
curiouser...
If I do $mapObj->numlayers I get the correct answer (11 in this case).
If I do $layerObj = $mapObj->getLayer(0) and then
I do $layerObj->name I get the correct name (parcels in this case).
However, $mapObj->getLayer(1) or any number thereafter just does not
work. Nothing is returned.
Keep in mind, nothing has changed in the project, the mapfile, the
scripts, etc. All I have done is compiled the new php_mapscript
(version 3.6.3).
Could anyone please suggest what steps I could undertake to debug this.
Many thanks in advance.
Puneet.
On Tuesday, October 29, 2002, at 05:36 PM, Puneet Kishor wrote:
> folks,
>
> I upgraded a sweetly working ms 3.5 to ms 3.6.3 and now things are not
> working very well. One symptom is that getAllLayerNames() returns
> nothing at all. In fact, so much so, everything quits but without any
> error messages! The html output simply gets trunctated... nothing more
> is generated past that function. Other, previously happy methods such
> as
> returning the extent simply return 0.
>
> My feeling is that maybe my php_mapscript.so is corrupt (or funky in
> some other way). However, simple calls like $mapObj->name return the
> name just fine. $mapObj->shapepath returned nothing at all (of course,
> it is set)
>
> Is there a place I can look for errors? I turned error logging on in
> php.ini, and even set an error log filename, but nothing is generated.
> Is there a way I can determine that I have a kosher version of
> php_mapscript.so?
>
> Is there is something obvious that I am overlooking? I compiled 3.6.3
> against php 4.1.2 (as a cgi) running on Apache 2.0.43. Perl/mapscript
> is
> working fine, and php by itself is working fine.
>
> tia,
>
> pk.
More information about the MapServer-users
mailing list