Cache issue after migrating to new server

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Kbow
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 29, 2018 12:38 pm

Cache issue after migrating to new server

Post by Kbow » Thu Jan 16, 2020 9:21 pm

I brought my site over to a new server. I currently do no have any cache because I am getting this error: Joomla\CMS\Cache\Storage\FileStorage::_folders JFolder: :delete: Path is not a folder. Path: /backup/websites/cache/ANC. I see this path in the configuration file but whenever I delete it, the site basically crashes. Is there a way to get rid of it with out crashing the site
Last edited by toivo on Thu Jan 16, 2020 11:57 pm, edited 1 time in total.
Reason: mod note: retitled, moved from 3.x General Questions

 
User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5352
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: migrating to new server

Post by AMurray » Thu Jan 16, 2020 9:38 pm

How did you migrate it?

The easiest way is to create a backup on the original site with Akeeba Backup, then restore it with Akeeba Kickstart to the new location. You initially only need two files - kickstart.php and the JPA archive, in an empty folder on your server.

A review of this information may be helpful - suggest redoing the migration completely: https://docs.joomla.org/Copying_a_Joomla_website

The first method on the above page, is concerning as I have already mentioned, using Akeeba.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 38019
Joined: Sat Apr 05, 2008 9:58 pm

Re: migrating to new server

Post by Webdongle » Thu Jan 16, 2020 10:40 pm

In configuration.php try
public $caching = '0';
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Kbow
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 29, 2018 12:38 pm

Re: Cache issue after migrating to new server

Post by Kbow » Fri Jan 17, 2020 1:32 pm

@ AMurray I have tried the Akeeba way you mentioned but brings me back to the same problem. Even when I do the site transfer wizard I get the same issue.

@Webdongle, I have tried that but all it does is cause the site to not be found.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 38019
Joined: Sat Apr 05, 2008 9:58 pm

Re: Cache issue after migrating to new server

Post by Webdongle » Fri Jan 17, 2020 4:53 pm

There is no reason for public $caching = '0'; to cause not found (what value is it?). Such a result suggests that your site has cache somewhere and when caching is off the cache cant be found. Most likely a 3rd party extension.

Some history of the site would be useful Also please https://forumpostassistant.github.io/docs/
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19965
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Cache issue after migrating to new server

Post by leolam » Mon Jan 20, 2020 5:20 am

Set in configuration.php

Code: Select all

public $cache_handler = 'file';
and see if that resolves

Also check that your path is correct since it cannot find it you wrote

The absolute path is the directory location on a server's hard drive where Joomla! is located. It can vary depending on your server type.

To find out what your absolute path is, copy the following code into a text editor (i.e. JEdit, Notepad, etc), save the file as a .php naming it whatever you prefer (i.e anyilename.php.).

Code: Select all

<?php 
 $path = getcwd();
 echo "Your Absoluthe Path is: ";
 echo $path;
 ?> 
Using your FTP software, ftp the file you have just created to your root folder.

Open your web browser and type in http://www.yourdomain.com/filename.php. The result will show the absolute path! USe that in your global configuration.

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

 

Post Reply

Return to “Installation Joomla! 3.x”