Tuesday, June 19, 2012

localhost magento admin login not working in chrome

But it works in safari. Temporary solution: Use Safari. :(

2 comments:

  1. Try this it will works ..

    Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory.

    Find the code:

    session_set_cookie_params(
    $this->getCookie()->getLifetime(),
    $this->getCookie()->getPath(),
    $this->getCookie()->getDomain(),
    $this->getCookie()->isSecure(),
    $this->getCookie()->getHttponly()
    );
    and replace with

    session_set_cookie_params(
    $this->getCookie()->getLifetime(),
    $this->getCookie()->getPath()
    //$this->getCookie()->getDomain(),
    //$this->getCookie()->isSecure(),
    //$this->getCookie()->getHttponly()
    );

    ReplyDelete
  2. Ah. Thanks! Much appreciated!

    ReplyDelete