My host used PHP version 5.2.17 and I assumed this was part of the problem.
I decided to move the site to a new host, one that offers PHP versions from 5.2 through to 5.5.
After some trial and error, I got the site working.
All modules are now up to date.
The problem: when I attempt to upgrade cmsms I am confronted with the following error:
Code: Select all
Fatal error: Cannot redeclare class Smarty in /var/sites/c/cornworthy.com/public_html/cms/lib/smarty/libs/Smarty.class.php on line 1502
I tried disabling .htaccess in the main cms folder and changed the permission on that particular file.
The current PHP version is 5.3. If I use 5.4 the site breaks and shows Internal Server Error.
Cache is cleared before any upgrade attempt.
If I go to /install/index.php this works as normal. I have tried a fresh install without any problems.
Any ideas are appreciated because I have been struggling with this now for days.
Chris