![]() ![]() This topic was modified 1 year, 8 months ago by futurenature. Once that process has completed, click on the Databases tab. The database will now be imported into your local server’s phpMyAdmin. From this screen, select the database file that you exported from the live server, and click Go. 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! Once logged into phpMyAdmin, select the Import tab. So now I’m desperate because I’ve spent around more than 3 hours trying to set up this thing, reading documentations etc. NOTE: I’m not a backend developer and I have almost no knowledge of PHP or Apache servers etc. Now i’m in dead-end and don’t know what’s the problem and what could be the problem… There’s no error in the logs, or any trace what could’ve gone wrong. So the problem is that now when I open the directory or /wp-admin/ it just shows a blank page. ![]() ![]() 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. Also setup “siteurl” and “home” records in “wp-options” table to localhost/mywpdirectoryĥ. Set up privileges of user with the same name and pass as in the wp-config file. Exported the database from the live website and imported it locally with the same name using the phpmyadmin of xampp.Ĥ. Downloaded the whole directory with WP files from the hosting to the xampp/htdocs directory.ģ. 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. 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. POST-PRODUCTION: Once a site goes live I only duplicate a site the other way which is from production (my host) down to my development box. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |