[mapserver-users] Re: Problem with Mapserver 6.0.1 and PHP Mapscript
Nick Friedrich
nick.friedrich at geolock.de
Fri Feb 17 04:02:53 PST 2012
Hi,
it is not normal, that var_dump and print_r return nothing. I tested it with
other Objects (e.g. FPDF) and it worked.
Well, the mapObj can't be really empty. I created an mapObj with an empty
Mapfile , loaded it via Mapscript and set a few non-object members and saved
the mapfile. In the saved mapfile there are all values as I set them via
Mapscript.
When I create a mapfile with a few parameters, load it via Mapscript and
write it via Mapscript everything in the written mapfile is correct. Even
parameters that are represented by objects like imagecolor. But i cannot
access them via Mapscript.
I put debug in the mapfile. When loading an empty mapfile there is nothing
reported. When loading a non-empty mapfile I always get a message lik this :
"[Fri Feb 17 10:33:51 2012].245869 msFreeMap(): freeing map at 0x85c9890.".
I also tried to set up a mapfile with one polygon layer and to create an
image. This works.
Nick
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Problem-with-Mapserver-6-0-1-and-PHP-Mapscript-tp4476779p4479756.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list