• Resolved johnr123

    (@johnr123)


    Hi there,

    I hope some one can help. I installed wamp5 Wampserver version 2.0 on my local machine and downloaded my WordPress site using ftp and exported my database using phpMyAdmin through cPanel from BlueHost. My intent is to have a development copy locally. My live site is fully installed but not developed.

    Everything went fine with setting the server up and a second virtual host, etc. The problem is, when I navigate to the local copy in my browser, I just get the install screen and not the login screen as I do on the live site. The install screen is all I can get, no matter what file I try to access.

    So something is amiss, but I am stumped as to what it could be. I am accessing the virtual host that I set it up on and my MySql user has full database-specific privileges for the Wp database that I created in Wamp5. All the tables from my live site database were copied properly into the local database. All appropriate files were altered locally to enable everything. The WP site url and home url were changed to the local version in the options table in the database. Hummm — scratching head 🙂

    Any Ideas — anyone?

    Thanks for any help you can offer,
    John

Viewing 1 replies (of 1 total)
  • Thread Starter johnr123

    (@johnr123)

    I have solved the problem.

    In case it helps anyone else out there, the problem I had in connecting properly to my local copy of WordPress was caused by using Notepad to edit the wp-config file.

    My Son solved this for me. He said that Notepad should never ever be used to edit config files, since it can delete the hidden carriage returns, among other things. He was right. He suggested that I instead use the file manager in cPanel on BlueHost where my site is live, to copy the file to another convenient location for editing; edit the file ensuring the language is set properly (cPanel will guide you there), then save and download the file to your computer (then of course delete the copied file from the live site server).

    As soon as I did that, the site came up properly with the login, the same as the live site, and everything is exact and working correctly.

    So the moral of the story is: do not use Notepad to edit config files. I hope that helps someone out there (and by the way, Notepad seemed to save correctly, in that it saved the file as a php file, so don’t be fooled by that).

    Cheers,
    John

Viewing 1 replies (of 1 total)
  • The topic ‘Wamp server and local copy problem’ is closed to new replies.