[mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript

2012-02-16 Thread Nick Friedrich

Hello,

I have a problem with Mapserver 6.0.1 and PHP Mapscript.
Until now I am working with Mapserver 5.2.

For testing purposes I created a minimal mapfile, just with name and 
symbolset. The symbolset file contains just one simple filled circle.
When I create a mapObj (tried old an new constructors) I get an empty 
Object (var_dump or print_r).  Non-object members like name or status 
are still there, when accessing them directly.
Set methods are also working for non-object members. Members, that are 
objects themselves, like projection, are not accessible.


I have no clue what could be the problem. The system configuration is 
the same as when using Mapserver 5.2.
PHP version is 5.2.17 (CGI). Version of other libraries (libpng, libgd, 
...) meet the requirements.


Thanks for your help,
Nick


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript

2012-02-16 Thread Carlos Ruiz
Nick,

Try the mapObj-save method to see what Mapserver dumps.

Cheers from México

 
IC Carlos Ruiz




 From: Nick Friedrich nick.friedr...@geolock.de
To: mapserver-users@lists.osgeo.org 
Sent: Thursday, February 16, 2012 10:25 AM
Subject: [mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript
 
Hello,

I have a problem with Mapserver 6.0.1 and PHP Mapscript.
Until now I am working with Mapserver 5.2.

For testing purposes I created a minimal mapfile, just with name and symbolset. 
The symbolset file contains just one simple filled circle.
When I create a mapObj (tried old an new constructors) I get an empty Object 
(var_dump or print_r).  Non-object members like name or status are still there, 
when accessing them directly.
Set methods are also working for non-object members. Members, that are objects 
themselves, like projection, are not accessible.

I have no clue what could be the problem. The system configuration is the same 
as when using Mapserver 5.2.
PHP version is 5.2.17 (CGI). Version of other libraries (libpng, libgd, ...) 
meet the requirements.

Thanks for your help,
Nick


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users