Ads

Wednesday, 3 April 2013

Magento admin login issue

I found Magento login issue, while first time installation of Magento

We need to change following files in to Magento file system.

{folder path}/app/code/core/Mage/Core/Model/Session/Abstract

inside this folder we found "Verient.php".

Open "Verient.php" and make change from

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

To

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

Put those two line in commnet.

Now, you can login with admin panel.

No comments:

Post a Comment