I am currently working on magento version 1.3.2.4. When i login to admin, it
looks like i have entered proper username and password because it doesn't show
any error like "Invalid username or password". When i try with fake
login I do get error. Even i am not getting any error it stays on the login
page.
So, I had to go through code and comment out few lines after which I was
able to login and access admin again.app\code\core\Mage\Core\Model\Session\Abstract\Varien.php line 77: original:
// set session cookie params
session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath(),
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()
);
Commented out three lines:
// set session cookie params
session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath() /*,
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()*/
);