• This problem has been stalling my development and I don’t seem to
    be able to move forward because of it.

    The problem has to do with migrating the wordpress installation on the live server to the local offline webserver on my development system. So that I can continue development of the site locally offline and eventually upload when I am finished.

    My Approach :
    I downloaded the entire content from the online server into a named folder in the htdocs directory in my local web server, and also went to the phpmyadmin of the liveserver to export the live database and changed all relevant paths in the exported sql scripts from “https://syncservers.net/wp” to “htp://localhost/uniserve” i did a find and replace using wordpad on my local system to do this .

    After this, I populated the local database using the SQL script, sql
    script ran successfully in my local database and I also update the
    connection parameters in the wp-config.php to my local database
    connection details ; but when I try to access the installation using
    the “https://localhost/uniserve” director, I get a blank page.

    This version running smoothly online was uploaded by myself through the same approach i outlined above from my local machine to the server before my system had a problem but i don’t seem to be able to replicate the same approach to successfully move the application back to my local system .

    PLEASE HELP !!!!!!!!!!!!!!!!!!!!!!!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • A couple things to double check, whatever your local webserver (probably Xampp, Wamp or Mamp) it is running?

    Also, I would have setup a clean install of WordPress on my local machine first, then installed the content into the DB, then the theme/plugins. This way you can double check that your server is running properly before possible problems with your files. Can you access php in a folder different than the WordPress install on your local? I mean can you take a php file with phpinfo() in it and see the contents on your local? This would tell you that your webserver is running or not.

    Also, I don’t think you would need to do a find and replace in your sql. Usually, I export, then import, then use phpmyadmin to go in and change the siteurl and home fields in the wp_options table (remember your options table may have a different prefix instead of wp_ ). Within the options table the options you are looking for are usually option_id 1 & 37.

    Also, I forgot to mention above, you’ll want download your uploads folder too.

    Try just installing WordPress on it’s own and see if that works, another thing you could try is accessing https://localhost/uniserve/wp-admin … I just re-read your post about your localhost and you have htp instead of http, which I am sure is just a typo here, but just in case.

    Another thing is if you are not using an apache based webserver, your htaccess file is not going to work, which causes some issues.

    I suggest trying to access https://localhost/uniserve/wp-admin because there may be an issue with your theme at localhost/uniserve but that shouldn’t cause an issue with wp-admin.

    Thread Starter Oluwaseun Samuel Osoba

    (@samuelsontech)

    Thanks GUYS …. I already identified the problem … the problem is none of the above . It is a cache problem. You know I had to download the datafiles from the live server to the local server .

    After properly checking and changing all configurations and file paths; i forgot to clear the cache of the live server; so that the local webserver will start rebuilding a new cache . And when I lauch the site with the old server cache. It obstructed the server from properly reading in and writing datafiles based on its own config cache settings.

    As soon as I cleared the CACHE folder in the themes directory, site starting working normal on local machine .

    Thanks all for your time .

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Migrating Installation from Live Server to Local Machine’ is closed to new replies.