I tracked this problem down finally. It turns out that if you set the directive register_globals to on in php.ini, then this will be the result when trying to access server admin. In my case, I am integrating an existing application (that I did not originally write) that requires this directive be set to on. I'm really not sure if this is a bug or not since I know that the use of this directive is a potential security risk and not good practice.
Andy _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Morsell Sent: Tuesday, May 06, 2008 12:42 PM To: 'MapGuide Users Mail List' Subject: [mapguide-users] 2.0 Admin not working - GetCurrentSiteAddress() ona non-object 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> http://www.SpatialGIS.com
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
