Page 1 of 1

install on IIs-winxp

Posted: Mon Jul 11, 2005 2:37 pm
by marco
i install cmsmadesimple on iis winxp.
but for admin, i have this messege :
Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/cmsmadesimple/admin/'. Line 2, Position 2


Notice:  Undefined index:  QUERY_STRING in c:\inetpub\wwwroot\cmsmadesimple\lib\classes\class.admintheme.inc.php on line 121

???

Re: install on IIs-winxp

Posted: Mon Jul 11, 2005 3:50 pm
by Ted
Argh.  What's up with IIS not ever conforming to standards?

Anyway, quick fix for this.  Open up lib/classes/class.admintheme.inc.php and go to line 121.  Replace with:

Code: Select all

$this->query = (isset($_SERVER['QUERY_STRING'])?$_SERVER['QUERY_STRING']:'');
Thanks for the heads up!