Hi,
I've just installed CMS Made Simple 0.10.2 on a windows box running Apache, PHP 5.0.5 and MySQL 4.1.14. The installation went ok, but when I tried to access the admin page I got the following error...
Fatal error: Only variables can be passed by reference in D:\ApacheRoot\webroot\cmsmadesimple\lib\classes\class.admintheme.inc.php on line 143
Does anyone have any ideas how I can fix this?
Cheers, Mike.
Can't load admin page
Re: Can't load admin page
This is a known problem (due to strong enforcement of reference rules which started in PHP 5.0.5 and which was backported to 4.4). Anyway, this has been fixed in the version in svn.
The quick fix is to change line 143 to read:
There may be some other changes required as well. Post here if you have any problems. That'll refresh my memory!
Sorry for the hassle,
___Samuel___
The quick fix is to change line 143 to read:
Code: Select all
$this->script = array_pop(@explode('/',$this->url));
Sorry for the hassle,
___Samuel___
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Re: Can't load admin page
Many thanks for that Samuel, I can now start playing with the site 
Mike

Mike