[mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript
ian.walberg at airborne.aero
Thu Feb 16 22:32:12 PST 2012
I believe we had an issue when we moved to MS 6.x.
Try opening from php an empty.map file with just MAP and END it.
Then add whatever you need to the map object and use it.
This has reminded me we need to go back and work out what our issue was.
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Carlos Ruiz
Sent: Thursday, February 16, 2012 5:05 PM
To: Nick Friedrich; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript
Try the mapObj->save method to see what Mapserver dumps.
Cheers from México
IC Carlos Ruiz
From: Nick Friedrich <nick.friedrich at geolock.de>
To: mapserver-users at lists.osgeo.org
Sent: Thursday, February 16, 2012 10:25 AM
Subject: [mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript
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,
mapserver-users mailing list
mapserver-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-users