Friday, May 16, 2014

Solution Magento admin login not working

Many magento newbies start learning magento from their local computer and most of them faces problem of logging in Magento admin panel, so here is the solution for that :
It is problem with session cookie with the chrome browser.
So just go through this directory /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file and comment out the line from 85 to 92 in magento

// session cookie params
   /* $cookieParams = array(
        'lifetime' => $cookie->getLifetime(),
        'path'     => $cookie->getPath(),
        'domain'   => $cookie->getConfigDomain(),
        'secure'   => $cookie->isSecure(),
        'httponly' => $cookie->getHttponly()
    );
  */

and try relogin to the admin.

No comments:

Post a Comment