[mapserver-users] php mapscript - debugging question
Daniel Morissette
dmorissette at mapgears.com
Thu Jul 11 17:15:00 PDT 2013
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
More information about the MapServer-users
mailing list