ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

can't login to EE and 'forgot password' isn't working

December 10, 2010 8:00pm

Subscribe [3]
  • #1 / Dec 10, 2010 8:00pm

    chris thacker

    119 posts

    I copied our EE version 2 installation to my local computer to troubleshoot something, both the database and files.  I used bbedit to rename the contents of the db to my test server’s info before importing into mysql.  (batch find and replace on the server IP/DNS)

    I can see the login page but it’s not recognizing my password thus I can’t login at all.  The ‘forgot your password’ function isn’t working and spins indefinitely.

    If I use phpmyadmin, I can see my account within the exp_members table.

    How can I change my password or hack my way in if I can’t login with any user?  Is there a way I can do it via phpmyadmin to create a new account?  I’ve tried clearing the cache.  The password hash (or whatever you call it) appears to be the same on the live installation and my test installation yet it’s nothing recognizing my password on the test.

    many thanks!
    chris

  • #2 / Dec 12, 2010 3:40pm

    Greg Salt

    3988 posts

    Hi Chris,

    Batch find and replace on a DB file can be a problem if you have not reviewed all the changes. Can you please check that you have updated the site and system folder index.php files as well as the system/expressionengine/config/config.php file appropriately for your local install.

    Cheers

    Greg

  • #3 / Dec 13, 2010 1:32pm

    chris thacker

    119 posts

    Hi Chris,

    Batch find and replace on a DB file can be a problem if you have not reviewed all the changes. Can you please check that you have updated the site and system folder index.php files as well as the system/expressionengine/config/config.php file appropriately for your local install.

    Cheers

    Greg

    i got it working but am unclear as to exactly why.. maybe you have an idea.  i realize this might be confusing but i’ll try to be clear:


    i changed within config.php:

    $config['cp_url'] = "http://localdns.example.com/ncp/ncp_system/index.php";

    to:

    $config['cp_url'] = "http://localhost/ncp/ncp_system/index.php";

    and it worked which is weird because i just realized that this path is from the live installation and it should be:

    $config['cp_url'] = "http://localdns.example.com/ncp_system/index.php";

      (or perhaps…)

    $config['cp_url'] = "http://localhost/ncp_system/index.php";

    on my local test box.  (no /ncp/ directory, it’s installed at the root)

    i tried:

    $config['cp_url'] = "http://localdns.example.com/ncp_system/index.php";

    and it still wouldn’t let me login so i changed it to:

    $config['cp_url'] = "http://localhost/ncp_system/index.php";

    that worked.  i changed it back to:

    $config['cp_url'] = "http://localdns.example.com/ncp_system/index.php";

    and it started working.  i don’t understand why the first try failed until i changed it to ‘localhost’ but worked afterwards.

    thanks!

  • #4 / Dec 14, 2010 2:21am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Looks like something was cached. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases