Back to Top

Magento Local Host login Problem

Updated 19 May 2017

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

Searching for an experienced
Magento Company ?
Find out More

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

. . .

Leave a Comment

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


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home