cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot login to admin page after restoring from backup

Re: Cannot login to admin page after restoring from backup

Hi

I have the same problem on a production site have you found out a solution

Re: Cannot login to admin page after restoring from backup

For me the solution was the server who set a new PHP version higher than the need so i just change the PHP version

Re: Cannot login to admin page after restoring from backup

Hello everybody, 

 

I am facing the same problem over here, and it has been almost 3 days without any solution. I have tried everything and ran out of google terms for search.

 

Did you guys find the solution? I tried all the steps that you also did, still didnt get a shot.

 

 

Re: Cannot login to admin page after restoring from backup

I ran those commands and it helped me

php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento setup:static-content:deploy

Re: Cannot login to admin page after restoring from backup

  1. Rename the plugin folder name and theme folder name. If opening /wp-admin and entering a valid username and password the dashboard is shown, then it worked.
  2. Revert the folder name of plugin and theme, then activate the themes and plugins one by one, cross-checking with /wp-admin.

By clicking here you can check further details. 

Re: Cannot login to admin page after restoring from backup

Rename the plugin folder name and theme folder name on the tracking website. If opening /wp-admin and entering a valid username and password the dashboard is shown, then it worked. 

regards: MD   

Re: Cannot login to admin page after restoring from backup


@mohsinjadob22e wrote:

Rename the plugin folder name and theme folder name on the tracking website. If opening /wp-admin and entering a valid username and password the dashboard is shown, then it worked. 

regards: MD   


What i don't read in your message is that you cleared the content of the var/cache and var/session folder.

Delete all the content in these 2 folders and try again.I did as requested and still same result.    The session folder still had nothing in it, the cache folder did.  Perhaps because I switched to db mode in local.xml?