Page 1 of 1

Can't load admin page

Posted: Wed Sep 28, 2005 10:11 am
by Mike
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.

Re: Can't load admin page

Posted: Thu Sep 29, 2005 1:31 am
by sjg
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:

Code: Select all

$this->script = array_pop(@explode('/',$this->url));
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___

Re: Can't load admin page

Posted: Thu Sep 29, 2005 8:55 am
by Mike
Many thanks for that Samuel, I can now start playing with the site :-)

Mike