[mapguide-users] MapGuide 3.1 Ad Layer on Runtime PHP
lisaw at precisionmanagementsolutions.com.au
Fri Dec 15 19:24:03 PST 2017
I had already tried adding in constants.php; it resolved that error but creates wrong parameter count errors for MgMap and another fatal error so I removed it as I hadn't needed it in AIMS.
Thanks for confirming it needs to remain.
From: mapguide-users [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Saturday, 16 December 2017 12:26 PM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] MapGuide 3.1 Ad Layer on Runtime PHP
MgServiceType is a constant. All MapGuide API constants are found in constants.php that should be in www/mapadmin or www/mapviewerphp
Meaning you're either missing an include/require_once to constants.php (or your current path to it is incorrect).
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
mapguide-users mailing list
mapguide-users at lists.osgeo.org
More information about the mapguide-users