This is very basic problem for a newbie in magento. Every time people stuck on the admin login page when you put your username and password in respective fields it doesnt allow to enter in to the admin section .So here we go to resolve this problem
Go to this page app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
and find the session_set_cookie_params(line-78) and replace your code with this
session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);
i am very sure that this trick will help you on localhost but this problem does not occur in webhost .so enjoy 🙂
Related Links :
1 – http://webkul.com/magento-tutorial
2- http://webkul.com/magento-tutorial/magento
3 – http://webkul.com/magento-tutorial/nginx-in-magento
4 – http://webkul.com/magento-tutorial/magento-in-localhost
5 – http://webkul.com/magento-tutorial/how-to-import-csv-into-magento
6 – http://webkul.com/magento-tutorial/method-varien-object-tostring-cannot-take-arguments-in-magento
Be the first to comment.