Strange situation with Magento Customer login for Chrome only (and mobile chrome browser).

Users can not login via customer/account/login/

They can login via checkout/onepage/

I have added:

<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />

to login.phtml underneath:

<ul class="form-list"> 


  • template/persistent/checkout/onepage
  • template/persistent/customer/form

I have increased the Cookie Lifetime to 33600 I have set the cookie domain (as recommended by a post on a forum, apprently google can be funny with cookies and there source).

Cache is all cleared in browsers and in var/cache and cleared in admin. Sessions are cleared and session folder is set to 755 file permissions.

Any help at all would be appreciated

  • is cookie setting issue in chrome else cookie setting issue at magento admin
    – Amit Bera
    Commented Jan 15, 2015 at 21:26
  • I don't really understand what you mean I increased the cookie lifetime in magento admin and set the cookie domain in mageno admin
    – jbyrne2007
    Commented Jan 15, 2015 at 21:38
  • Can you confirm that there is a cookie in Chrome with the name frontend or adminhtml Commented Jan 15, 2015 at 21:49
  • there is indeed when first visiting the website a cookie is created called frontend, when attempting to login another one is created and given the same value. I can login to admin perfectly fine.
    – jbyrne2007
    Commented Jan 15, 2015 at 21:54

1 Answer 1


Only by removing all the files and doing a fresh install, reapply the theme I was able to overcome this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.