Nick,

 

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.

 

Regards

 

Ian

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Carlos Ruiz
Sent: Thursday, February 16, 2012 5:05 PM
To: Nick Friedrich; [email protected]
Subject: Re: [mapserver-users] Problem with Mapserver 6.0.1 and PHP Mapscript

 

Nick,

 

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

 

Cheers from México

 

IC Carlos Ruiz

________________________________

From: Nick Friedrich <[email protected]>
To: [email protected] 
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



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

Reply via email to