Problem :
Do you know why this problem occures ? The problem occurs because magneto could not store cookies. We run it as localhost and localhost is not true domain but to store cookies we need a domain. That’s why login stops without saying any word.
Solution :
1:
http://127.0.0.1/magento/index.php/admin it will work. instead of http://localhost/magento/index.php/admin it will work.
then go to admin system ->web ->web_browser_capabilities and select no-no and then save its and you are doen.(during this you have to change url manual loCALHOST TO 127.0.0.1)
2: if you great coader then try this...
Do you know why this problem occures ? The problem occurs because magneto could not store cookies. We run it as localhost and localhost is not true domain but to store cookies we need a domain. That’s why login stops without saying any word.
Solution :
1:
http://127.0.0.1/magento/index.php/admin it will work. instead of http://localhost/magento/index.php/admin it will work.
then go to admin system ->web ->web_browser_capabilities and select no-no and then save its and you are doen.(during this you have to change url manual loCALHOST TO 127.0.0.1)
2: if you great coader then try this...
Second Solution
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()
);
$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()
);
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);
ReplyDeletemagento eCommerce development is incredible for business