Fix magento admin login failing in chrome browser

Login failure in chrome even though you have given correct username and password?
Just follow to code to access admin page in chrome browser.

Look for the line in appcodelocalMageCoreModelSessionAbstractVarien.php file.

<br />if (isset($cookieParams['domain'])) {<br />    $cookieParams['domain'] = $cookie-&gt;getDomain();<br />}<br />

If you have found just replace that line with the follwing code

<br />if (isset($cookieParams['domain']) &amp;&amp; !in_array(&quot;127.0.0.1&quot;, self::getValidatorData())) {<br />    $cookieParams['domain'] = $cookie-&gt;getDomain();<br />}<br />

In this way we can fix magento admin login failing in chrome browser

Source: How to Fix Magento’s Admin Login Failing no error message on Localhost « My Silly Point of View.

1 Comment

 Add your comment
  1. hai Bro!.. It's workng Awesome!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: