[mapguide-users] 2.0 Admin not working - GetCurrentSiteAddress() on a non-object

Andy Morsell amorsell at spatialgis.com
Tue May 6 15:41:31 EDT 2008


Hi,
I have a CentOS box configured with MGOS 2.0.  Everything is working fine -
standard and flexible layouts display, the Sheboygan sample PHP application
works with no issues, the mapagent test pages work just fine, and so on.
But, recently (and it had been working at some point) Administrator stopped
working.  I get the login page just fine, but after submitting the proper
username and password, I get:

Fatal error: Call to a member function GetCurrentSiteAddress() on a
non-object in
/usr/local/mapguideopensource/webserverextensions/www/mapadmin/servermanagem
ent.php on line 67 

Tracking this down a bit, that line is just:

$siteServerAddress = $site->GetCurrentSiteAddress();

So it looks like it is not ever properly creating an MGSite object.  Does
anyone have any idea why this might be occuring?

Thank you.

Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080506/2427b973/attachment.html


More information about the mapguide-users mailing list