[mapguide-users] MapGuide 3.1 Ad Layer on Runtime PHP
lisaw at precisionmanagementsolutions.com.au
Fri Dec 15 17:27:31 PST 2017
I am updating codebase originally running on AIMS 2013 to MGOS 3.1 on Apache
and have hit an issue.
When updating code associated with calling a layer it keeps erroring out
before calling the layer. The error is:
PHP Fatal error: Class 'MgServiceType' not found in C:\Program
p on line 34
Line 34 of the code is $resourceService =
Here is the code snippet setup used including the line that causes the
$webconfigFilePath = "C:/Program
$mapName = $_REQUEST['MAPNAME'];
$sessionId = $_REQUEST['SESSION'];
$userinfo = new MgUserInformation($sessionId);
$siteConnection = new MgSiteConnection();
I have confirmed that the MapGuide API still lists the class as used above.
I have other reports that I ported straight from AIMS to MGOS 3.1 that work
without issue, so I don't think the issue is code differences between AIMS
and MGOS3.1 but can't rule that out completely.
Is it possible that the code as used is not calling the class properly? Any
help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users