Support

Site Restoration

#38625 locally restoration brings to online url

Posted in ‘Site restoration’
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

PHP version
8.0.27
CMS Type
Joomla!
CMS Version
3.10.11
Backup Tool Version
pkg_akeeba-8.2.7-pro
Kickstart version
Kickstart-pro-7.1.2

Latest post by nicholas on Friday, 24 February 2023 00:52 CST

De Filippis

Hi,
I'm a long term user of akeeba backup professional for my joomla website.

Recently I installed Admin tools pro, for more safety, but I haven't yet used/studied it much.

Few days ago with pkg_akeeba-8.2.7-pro I did a remote online-backup and transferred mywebsitexxxxx.jpa file locally using FTP, as always.

Then I wanted to restore my backup locally to develop and upgrade my joomla website.

Locally I use XAMPP-3-3-0 as developing environment.

I downloaded and used Kickstart-pro-7.1.2, everything went fine with mywebsitexxxxx.jpa decompressing and transferring/installing all the files locally at the address xampp\htdocs\mywebsite230220.it

But then when visiting my frontend or backend I cannot reach localhost\mywebsite230220.it as expected, instead it goes directly on the online address https://www.mywebsite.it/mywebsite230220.it giving me a 404 error.

I do not know how to solve this nightmare.

Who can help me, please?

Β Thanks Lorenzo

nicholas
Akeeba Staff
Manager

During restoration, in the Site Setup page, do two things:

  • Make sure that the Live Site field is empty. If not, empty it now.
  • On the right hand site, there's an option for the .htaccess file. Choose to replace it with the default.

After the restoration, if you want to use the .htaccess maker again you will need to scroll to its bottom and change the HTTP and HTTPS domains, and the Directory. You may also have to disable the non-www to www redirection, and the old to new domain redirection at the very least.

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!

De Filippis

Hi Nicholas,

thank you for your reply.

I did what you suggested.

I got a "0" error with the following message "Path cannot be empty ", both in the frontend and backend

nicholas
Akeeba Staff
Manager

This seems to be coming from some extension installed on your site.

Edit the configuration.php file and change the line with $error_reporting in it to read

public $error_reporting = 'development';

This will give you a more detailed message, including a debug backtrace. If you paste it here I can help you identify the problem.

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!

De Filippis

Hi,

I did what you suggested, but I got the same result "0" error with the following message "Path cannot be empty ", in the frontend and backend.

No other message

nicholas
Akeeba Staff
Manager

Let's also change the $debug line to read

public $debug = '1';

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!

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!