Monday 22 July 2013

Magento Admin panel login not working in Chrome

Go to /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php

Find line no 85 and the code will be like

       // session cookie params

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

and replace with  

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

That’s it. Now you will be able to login Magento admin panel.

No comments:

Post a Comment

Thanks for visit blog.