We’ve come across this a couple of times recently wherein an upgrade to Magento results in registration forms not working as they should be. The symptoms this time around were as follows:

  1. Visitor fills out registration form and clicks submit
  2. Visitor is brought back to the registration form as if nothing has happened
  3. And nothing has happened — the registration details were never actually successfully sent to the server

Unfortunately, you’ll find no logging in the server error logs about this. I couldn’t find magento logs indicating a problem either.

The solution, as found on the Magento Forums, is to find your registration form template file. In my case it was here (the clarion folder because this particular site is using the Clarion Customer Attributes plugin):

{webroot}/app/design/frontend/{template_name}/default/template/clarion/customerattribute/form/register.phtml

Edit the file, and directly underneath the opening <form […]> tag, enter:

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

You may need to clear your cache in the Magento admin, though in my case it took effect immediately. After making that change I was able to successfully submit the registration form.

About Jordan Schelew

Jordan has been working with computers, security, and network systems since the 90s and is a managing partner at Websavers Inc. As a founder of the company, he's been in the web tech space for over 15 years.

3 Comments

  1. stacy Lamb on August 8, 2017 at 7:37 am

    Yes Same Problem …@@@

  2. Zed on December 17, 2016 at 7:04 pm

    I have Magento 1.9.x and the Clarion plugin installed but there is no /app/design/frontend/{template_name}/default/template/clarion/customerattribute/form/register.phtml file in my tree.
    Obvioiusly I changed {template_name} with the name of my template.

    • Jordan Schelew on December 18, 2016 at 8:51 pm

      Try /app/design/frontend/default/default/template/clarion/customerattribute/form/register.phtml

Leave a Comment