Posted By

eddykim186 on 03/27/18


Tagged

login backend magento


Versions (?)

Magento Backend Login Issue


 / Published in: PHP
 

URL: http://bssgeek.com/blog/magento-admin-panel-login-not-working/

Login issue happens on Admin Site, with username and password has been entered correctly. Cache has been removed but it still does not work

  1. - Change the IP-address to http://127.0.0.1/ to access Magento.
  2. - If the solution above doesn’t work, follow the steps below to disable the wrong cookies:
  3.  
  4. Step 1: With those who are using Magento 1x, go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file in your Magento directory.
  5.  
  6. Step 2: Change from
  7.  
  8.  
  9. $cookieParams = array(
  10.  
  11. 'lifetime' => $cookie->getLifetime(),
  12.  
  13. 'path' => $cookie->getPath(),
  14.  
  15. 'domain' => $cookie->getConfigDomain(),
  16.  
  17. 'secure' => $cookie->isSecure(),
  18.  
  19. 'httponly' => $cookie->getHttponly()
  20.  
  21. );
  22.  
  23. to:
  24.  
  25.  
  26. $cookieParams = array(
  27.  
  28. 'lifetime' => $cookie->getLifetime(),
  29.  
  30. 'path' => $cookie->getPath(),
  31.  
  32. // 'domain' => $cookie->getConfigDomain(),
  33.  
  34. // 'secure' => $cookie->isSecure(),
  35.  
  36. // 'httponly' => $cookie->getHttponly()
  37.  
  38. );
  39.  
  40. Step 3: Save the file --> Clear Cache --> Try Login Again

Report this snippet  

You need to login to post a comment.