Magento customer login fails with no error Print

  • 1

Problem Description

  • Logging in to Magento as a customer on the front-end redirects back to the customer login page, despite being confident that the username and password is correct. The login does not appear to be successul, however no error is specified. 
  • You may notice this issue applies only to specific browsers.
  • You may notice this issue applies only to subsequent logins after successfully logging in once, then logging out again.

Problem Resolution

This issue appears to occur when the server and browser don't consistently agree upon the domain to be used when setting the 'user logged in' cookie.

To resolve this:

  1. Log into your Magento admin
  2. Navigate to System > Configuration > Web (Under the "General" header).
  3. Expand the "Session Cookie Management" section
  4. Under "Cookie Domain" enter www.yourdomain.com.
  5. Under the "Secure" and "Unsecure" sections above, if your domain does not include the www, make sure that this setting also excludes it.

You may also need to ensure Plesk has its preferred domain field set to match this value. This article will show you how to configure the preferred domain in Plesk: https://clients.websavers.ca/whmcs/knowledgebase/11/My-website-will-not-work-with-the-www-prefix.html


Was this answer helpful?

← Back