Re: [mapserver-users] php mapscript - debugging question

2013-07-11 Thread Daniel Morissette

On 13-07-11 5:24 PM, Mark Volz wrote:

Hello,

I am upgrading an application that uses php mapscript to build a "parcel tax 
report" and I am getting the following error:  Catchable fatal error: Argument 1 
passed to layerObj::getShape() must be an instance of resultObj, integer given in 
C:\ms4w\apps\PipestoneMOOSE26\htdocs\php\ParcelReport\infopublic.php on line 416.



The arguments and the way to use the getShape() method have changed. 
You'll find more information in the migration guide:


http://mapserver.org/MIGRATION_GUIDE.html#mapscript-all-flavors

and the getShape() docs:

http://www.mapserver.org/mapscript/php/phpmapscript.html


--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

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


[mapserver-users] php mapscript - debugging question

2013-07-11 Thread Mark Volz
Hello,

I am upgrading an application that uses php mapscript to build a "parcel tax 
report" and I am getting the following error:  Catchable fatal error: Argument 
1 passed to layerObj::getShape() must be an instance of resultObj, integer 
given in C:\ms4w\apps\PipestoneMOOSE26\htdocs\php\ParcelReport\infopublic.php 
on line 416.

What does this error mean?

Thanks

Mark Volz, GISP
GIS Specialist


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