Solve the Magento background cannot login/Login No response method

Source: Internet
Author: User

Installed a few versions of Magento, installed after the landing in the background when all encountered a point of problem, the user name and password are entered correctly, is not landing backstage, after research found that landing is not the main background because of the Magento itself cache settings, the most template solution is as follows:

 magento can't login backstage can try the following several methods to solve the:  method one, with FF login backstage, in System-configuration-web-session Cookie management....timeout Change to:86400  if the method is not one, use method two   method two: Still cannot login please open the file app/code/core/mage/core/model/session/abstract/varien.php  Found code:  session_set_cookie_params (   $this->getcookie ()->getlifetime (),   $ This->getcookie ()->getpath (),   $this->getcookie ()->getdomain (),    $this->getcookie ()->issecure (),  $this->getcookie ()->gethttponly ()   );  replaced by:  session_set_cookie_params (  $this->getcookie ()->getlifetime (),   $this->getcookie ()->getpath (),  //$this->getcookie ()->getdomain (),   $this->getcookie ()->issecure (),   //$this->getcookie ()->gethttponly ());   These are found on the Internet, there are several versions of the Magento has done so after the problem solved, but there are still some such settings after the login is not the backstage, so in Google continue to find the reason, finally in the Magento forum see the following content   magento1.4.1 after installationLogin not backstage, but password and user name is correct, workaround:  open magento/app/code/core/mage/core/model/session/abstract/varien.php  Find the following code, comment out $cookieparams[' domain ' = $cookie->getdomain (); it's OK.  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 out all of the following  //if (Isset ($cookieParams [' domain ']) {            //$cookieParams [' domain '] = $cookie->getdomain ();    //  & nbsp  } , now all version Magento can not log in the background of the problem is resolved.

Solve the Magento background cannot login/Login No response method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.