• Resolved Roy

    (@clg87)


    Trying to copy my live site to localhost.

    (1) I installed xampp and wordpress locally on my PC, was successful installed.
    (Followed instructions at https://wpdean.com/install-wordpress-on-localhost-using-xampp/)

    (2) Used “Duplicator” plugin to create installer & package, worked successfully.
    (Followed instructions at https://www.youtube.com/watch?v=NLYyecIXOU0&t=303s)

    I can see my site on localhost fine.
    But I cannot login using credentials I created during the wordpress install. Am told username/password is incorrect. When I ask for a password reset using either email or username, I get the message “There is no user registered with that email address.”/ “There is no user registered with that email address.”. Pardon?

    Two issues I can think of…First, I recreated the database as per Duplicator video. But I used all the same parameters (Database name, Database Username, Database Password, Database Host, Table Prefix) as before, prior to the wordpress install. Maybe I shouldn’t have recreated the db? Second, I used a strong password generated by LastPass, maybe this is too long or complex?

    Quite puzzled why I can see a functional site at localhost, but cannot login? Any thoughts? Thanks!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    If you are not able to login to the site just follow this guide https://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-in-wordpress-using-ftp/ to create a new admin account and try login with that and then you can see whether the user account, you are looking for, exists there or not. Hopefully, this will help you.

    Thanks

    Thread Starter Roy

    (@clg87)

    Thank you but unfortunately, this did not help. I will have to keep researching…

    I have used duplicator for my sites, when you create a new duplicator stuff which includes the installer.php and the .zip file. you just need to copy those two under xamp and install it, i believe the username and password should be the same ones that you use for your live wordpress site.

    It has always been the case for me.

    Thread Starter Roy

    (@clg87)

    Ah, ok! That makes sense Benjamin. Before I try again: Do you also use the same database name and password as on your live site, when you’re copying to localhost?

    @clg87
    Thanks for replying, to answer your question, it actually doesn’t matter if your database is the same nor the username and password. when you get to the choice to enter a database, username and password, you can setup a new database, username and password through the phpmyadmin and use that to connect to the duplicator and it should allow you to test the connection. then when its sucesss, it will copy all your existing posts, articles to the new database.

    hope that make sense.

    Thread Starter Roy

    (@clg87)

    @benlumia007

    Makes sense, thank you sir! I’ll keep this thread open for now, give it a try tomorrow, and report back with hopefully successful results. Have a good night

    Thread Starter Roy

    (@clg87)

    @benlumia007

    That worked! Thank you so much ?? Took a couple of tries, only worked though after I enabled “migrate full database” (not exactly that text, but something like that) in Step 3 of 4 of the Deployment Wizard. Not sure why this option was disabled by default… but whatever, it’s working now.

    A couple of other “localhost” questions since you seem to be familiar with the environment:

    (1) Will I receive the same plugin update notices that I do on my live install?

    (2) I’m planning a second live site, let’s call it “Site2”. For future migration from live to local, is it as easy as just creating another subfolder within xampp/hotdocs and then running the Duplicator installer from there?

    Or more clearly stated:

    Today, I have c:/xampp/htdocs/Site1/{duplicator installer & package.zip for Site1}

    So, when Site2 is ready for migration to locahost, can I just so this?
    c:/xampp/htdocs/Site2/{duplicator installer & package.zip for site 2}

    Thanks!

    COOL, that you got your site working now. Glad to help you out.

    Answering your Question as followed.

    Will I receive the same plugin update notices that I do on my live install?
    This Duplicator only works if you have nothing inside of your folder begin with so that the installer.php and the zip file should be only two files so that it can duplicate your site as it should. If you have an existing WordPress site already, I believe the plugin will notify you something bout an existing installation or something, but after you successfully installed the plugin and everything is fine. you could delete the plugin or leave it so that next time you can do another backup in case and plugins will do updates as it should when you get notify, always keep the plugin up to date.

    the second question, yes, that’s definitely right. as long as the site1 and site2 is in a different folder, then the duplicator will do what it should. Just follow what you just did for the site2 and everything should be ready to go.

    Hope that answers your question.

    Thread Starter Roy

    (@clg87)

    Perfect! Cheers

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can access localhost front end, but cannot log in’ is closed to new replies.