Can't load admin page

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Mike

Can't load admin page

Post 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.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: Can't load admin page

Post 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___
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Mike

Re: Can't load admin page

Post by Mike »

Many thanks for that Samuel, I can now start playing with the site :-)

Mike
Locked

Return to “[locked] Installation, Setup and Upgrade”