1

I did make a joomla and database backup from online site to localhost.(install wamp, download the files, import the database do phpmyadmin, paste the files into www folder from wapm and configure the configurration.php file where I changed the $db, $user, $password, $log_path and $tmp_path).

When I run the localhost:port/project-folder it shows a blank page.
I did inspect with browser inspector and on Network tab it shows code 200, method get, but nothing it's transferred back from server.

Ps: When I type on url: localhost/port/project-folder/administrator it shows the administrator login, but cant enter with my profile.

What's wrong? How to successfully restore the site on my localhost and why I can't login to the backend?

2

Almost every time there is a blank page on a php application, it denotes a php fatal error somewhere. It's not uncommon, it happens and there can be many reasons for it.

Troubleshooting tips

Error reporting

First of all, you have to enable Error Reporting, so Joomla/php will print any errors in your browser. This way you will get an idea of what's causing the fatal error.

Open configuration.php search for the line:

var $error_reporting = 'none';

and set it to:

var $error_reporting = 'maximum';

Refresh the page and see if now you get any error messages.


Different Environments & System Requirements

Usually, in cases like yours, where you are restoring a working site on a totally new environment that you just setup, this may be caused due to differences between the 2 environments.

The new environment might be lacking of important minimum system requirements that your site depends on. It can be the software versions like php, or required php extensions.


Corrupted Backup

Other possibilities is that your backup/restoration of files might be corrupted (e.g. missing files). In this case, you need to re-do the whole procedure.


Cache

When backing-up using hosting panels, we usually get the complete document root directory, that also includes the cache folder. However, you should not move cached files from another environment and it's possible that those may be the cause of the blank page you see. Open the cache folder of your local Joomla instance and delete everything from there - except of the index.html file.


Akeeba Backup

I would suggest you to use Akeeba Backup, follow their instructions on how to backup and restore, to do your task.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.