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 methods to solve: Method One, with FF login backstage, in System-configuration-web-session Cookie management....timeout Instead: 86400 If the method is not one, use method two method two: still can't login please open file app/code/core/mage/core/model/session/abstract/varien.php  find code: Session _set_cookie_params (  $this->getcookie ()->getlifetime (),  $this->getcookie ()-& Gt;getpath (),  $this->getcookie ()->getdomain (),   $this->getcookie ()-&gt ; 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 did this after the problem is resolved, but there are still some such settings after the login is not the background, So in Google continue to find the reason, finally in the Magento forum to see the following  magento1.4.1 after installation is not logged in the background, but the password and user name is correct, the solution: 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-& Gt;getdomain ();     }  results are as follows  if (Isset ($cookieParams [' domain ')]) {        & nbsp  //$cookieParams [' domain '] = $cookie->getdomain ();        }  But after doing this, there's still an error. , so I commented out all of the following  //if (Isset ($cookieParams [' domain ')]) {            //$ cookieparams[' domain '] = $cookie->getdomain ();    //     }

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.