Jackie, 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.
Kind Regards, Lisa -----Original Message----- From: mapguide-users [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Saturday, 16 December 2017 12:26 PM To: mapguide-users@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). - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users