0

I moved my website from my computer to another one, I moved drupal folder and the database with backup & migrate, I used to do it every day and now on the first call, The website worked, but after login with admin, I can't acces the website. I tried changing $cookie_domain, but it was already commented, also rewrite_module is enabled on apache, I'm workin on localhost. help me guys, thank you

1 Answer 1

0

Use drush upwd to reset your password

drush upwd --password="givememypasswordback" "admin"

If you don't have drush installed do it via MySQL. Here is a related article.

4
  • thank you for responding, i tried but it's not working , after reseting the pass, i can't acces to the site ,thank you
    – Aymen
    Aug 20, 2016 at 20:06
  • how about drush uli admin? resources on recovering the administration password drupal.org/node/44164
    – iamroald
    Aug 20, 2016 at 23:25
  • @Aymen Did you try the MySQL way ? Are you sure you are typing your password correctly ? Lastly try the one-time-login link drush uli (like mentionted above) and check your email.
    – mchar
    Aug 21, 2016 at 13:01
  • I'm pretty sure you can create another account, copy its hash to user 1 and then use its password. Or use backup migrate. Aug 21, 2016 at 19:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.