Magento admin login page problem

Hi magento developers, if you are getting problem in login in admin panel after fresh magento installation on your system then I have a solution for magento version 1.4.x.x

go to: app/code/core/Mage/Core/Model/Session/Abstract and open up varien.php, and comment the lines from 77 to 94 so it will look like:

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

        if  (!$cookieParams['httponly'])  {
              unset($cookieParams['httponly']);
              if (!$cookieParams['secure']) {
                unset($cookieParams['secure']);
                if (!$cookieParams['domain']) {
                    unset($cookieParams['domain']);
                }
            }
        }
*/
?>

and save it and now try to login in admin panel. 100% you get success…:)


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*