After the local installation of Magento, account password login found that there is a blank, can not jump to the background.
How to solve?
Workaround One:
This is a cookie problem, using a non-IE core browser such as Firefox to solve this problem, although the way the browser handles cookies is similar but not 100% identical, Magento Other versions have this problem.
The way to fix this problem in detail is to navigate to: app/code/core/mage/core/model/session/abstract/varien.php.
Around 70 lines you can see something like this:
Set Session cookie Params
Session_set_cookie_params (
$this->getcookie ()->getlifetime (),
$this->getcookie ()->getpath ()//comments dropped or deleted
Workaround Two:
No localhost landing,
To your IP address login: For example http://192.168.1.100/plus background address,
You can also point to the other addresses in Apache,
This problem does not normally occur on the server, and does not need to be modified.
magento1.9 Backstage Unable to login problem
Open magento/app/code/core/mage/core/model/session/abstract/varien.php
to find the following code, comment out $cookieparams[' domain ' = $ Cookie->getdomain (); This is the right line.
if (isset ($cookieParams [' domain ']) {
$cookieParams [' domain '] = $cookie->getdomain ();
}
results are as follows
if (Isset ($cookieParams [' domain ']) {
//$cookieParams [' domain '] = $cookie->getdomain ();
}
But after doing this, there was an error, so I commented all of the following out
//if (isset ($cookieParams [' domain '])] {
//$cookieParams [' domain '] = $ Cookie->getdomain ();
//}