Magento admin login issue

Share:


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

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();

Ads