Sunday, 20 April 2014

Magento : Admin login not working in Chrome

Workaround #1 : Before Installation

Use 127.0.0.1 when you set up magento in localhost. I prefer this one because no need to make any changes in code.

Workaround #2 : After Installation

1. Go to app\code\core\Mage\Core\Model\Session\Abstract\Varien.php file

2. Go to line number 85 and replace

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


code snippet with

// session cookie params
$cookieParams = array(
            'lifetime' => $cookie->getLifetime(),
            'path'     => $cookie->getPath()

);

Clear browser cache and try again. Hopefully it will work for you as well.

Thanks!!!!!!!! Enjoy Programming :)


No comments:

Post a Comment

Thanks for your valuable comments.

Odoo 10: Close wizard and open standard form

Hi, Today we are going to learn how to open standard form after saving data in wizard. Let's say I have created an wizard to fill bas...