Support

Akeeba Backup for Joomla!

#27833 Migrating to New Server - The cachelite Cache Storage is not supported on this platform.

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by [email protected] on Tuesday, 23 May 2017 09:04 CDT

[email protected]
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

I have a joomla site and I need to move it to a new web host. I purchased Akeeba Backup Pro and it seems to work very well. However the site on the new host returns the following error:
____________________________
0 - The cachelite Cache Storage is not supported on this platform.
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below.

The cachelite Cache Storage is not supported on this platform.
____________________________

What I have read is that it is caused by not being able to write to the /cache and /administarator/cache folders, I have checked the permissions on these folders and have set them to 777 so that they can be written to by everyone. Makes no difference.

I am able to successfully create a new installation of Joomla on the server but seems not able to restore a backup of a site from elsewhere.

Akeeba backup seems to be working fine

Kickstart seems to be working fine

The restored site Admin area can be accesses - just not the front end

This may not be an issue with Akeeba Backup but I was wondering if you have had other customers with the same issue and how they got around it.


Log File contents
DEBUG |170522 09:06:46|Fetching filter data from database
DEBUG |170522 09:06:46|Loading filters
DEBUG |170522 09:06:46|-- Loading filter Extradirs
DEBUG |170522 09:06:46|-- Loading filter Tables
DEBUG |170522 09:06:46|-- Loading filter Tabledata
DEBUG |170522 09:06:46|-- Loading filter Regexskipdirs
DEBUG |170522 09:06:46|-- Loading filter Skipfiles
DEBUG |170522 09:06:46|-- Loading filter Multidb
DEBUG |170522 09:06:46|-- Loading filter Skipdirs
DEBUG |170522 09:06:46|-- Loading filter Regextables
DEBUG |170522 09:06:46|-- Loading filter Regexdirectories
DEBUG |170522 09:06:46|-- Loading filter Regextabledata
DEBUG |170522 09:06:46|-- Loading filter Files
DEBUG |170522 09:06:46|-- Loading filter Incremental
DEBUG |170522 09:06:46|-- Loading filter Directories
DEBUG |170522 09:06:46|-- Loading filter Regexfiles
DEBUG |170522 09:06:46|-- Loading filter Regexskipfiles
DEBUG |170522 09:06:46|-- Loading filter Sitedb
DEBUG |170522 09:06:46|-- Loading filter Joomlaskipfiles
DEBUG |170522 09:06:46|-- Loading filter Joomlaskipdirs
DEBUG |170522 09:06:46|-- Loading filter Cvsfolders
DEBUG |170522 09:06:46|-- Loading filter Excludefolders
DEBUG |170522 09:06:46|-- Loading filter Systemcachefiles
DEBUG |170522 09:06:46|-- Loading filter Siteroot

nicholas
Akeeba Staff
Manager
Hello Matthew,

You were close, but not close enough. Indeed, the problem is with the cache. However, it's not with where the cache is written to but how. The "how" is called "cache handler". On your old server you were using the CacheLite cache handler. Your new server doesn't support it, hence the message. YOu can change it on the restored site.

Edit your configuration.php file. Find the line starting with public $cache_handler and change it to read:
public $cache_handler = 'file';

This should fix the issue you are experiencing.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
Hi Nicholas,
many thanks for the prompt response.

I changed the cache handler parameters to: public $cache_handler = 'file';

This is the result I got: "Using $this when not in object context"

I have tried: public $cache_handler = '';

and end up with a totally blank page

nicholas
Akeeba Staff
Manager
The "Using $this when not in object context" comes from something entirely different.

If you have access to the Joomla! administrator area, please log in to your site's back-end, go to Global Configuration, click on the Server tab and set the Error Reporting to Development. Try visiting the problem page again.

If you don't have access edit your configuration.php and find the line starting with public $error_reporting and set it to:
public $error_reporting = 'development';

This instructs Joomla! to enable maximum error, warnings and notices verbosity. In 99.9% of cases it will result in the error messages being shown on the browser.

Please note that if you can not understand what the PHP error message means, just copy and paste it here verbatim so that we can take a look and point you to the right direction.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
Hi Nicholas,
I now have the site working.

There were two things that had to be done:

1. Change cache handler as you recommended to public $cache_handler = 'file';

2. Change the PHP version from 7.1 to 7.0


The site is now functioning as it should

Many thanks for your assistance

Matt

nicholas
Akeeba Staff
Manager
Regarding the PHP version, I suspect that another plugin you have on your site (or some Joomla! feature other than the ones we use ourselves when testing our software) doesn't work with PHP 7.1. I know it's not our software because of said tests of our software against PHP 7.1. It'd be a good idea figuring out which extension doesn't work very well and ask its developer to update it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
I am very confident that it's not your software as we also tried to move the site manually and had the same error. Yes I will begin looking at which extension it may be that is causing the issue with PHP7.1.

Again, many thanks for your follow up and assistance

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!