Problem with setting up Local copy of Live site (blank page)
-
Hi everyone!
I need to make some changes to my live website’s theme templates and I’ve lost my local dev copy a while ago when I re-installed Windows on my PC.
I’ve followed the guidelines of copying a WP website to a local server so that I can test if my code changes will break something. So I did the following:
1. Installed XAMPP locally.
2. Downloaded the whole directory with WP files from the hosting to the xampp/htdocs directory.
3. Exported the database from the live website and imported it locally with the same name using the phpmyadmin of xampp.
4. Set up privileges of user with the same name and pass as in the wp-config file. Also setup “siteurl” and “home” records in “wp-options” table to localhost/mywpdirectory
5. There was PHP issue, because my hosting was using PHP 5.6, and XAMPP is PHP 8.0, so there was an error in scrip-loader.php, but I’ve googled how to downgrade PHP for certain directories in XAMPP and the error disappeared.So the problem is that now when I open the directory or /wp-admin/ it just shows a blank page. There’s no error in the logs, or any trace what could’ve gone wrong. Now i’m in dead-end and don’t know what’s the problem and what could be the problem…
NOTE: I’m not a backend developer and I have almost no knowledge of PHP or Apache servers etc. So now I’m desperate because I’ve spent around more than 3 hours trying to set up this thing, reading documentations etc. for just a small change. If anyone has better idea how to edit my theme without local copy and without breaking anything to current one, I’ll be more than happy to hear it!
Thanks!
- The topic ‘Problem with setting up Local copy of Live site (blank page)’ is closed to new replies.