Problem: Can't Create an Account in Magento After 1.9.x Updates

It's crazy. Sometimes you just happen upon issues with Magento, like I just did today. I was going through my site to check for CSS issues/changes that need to be made. So I got through each page, even occasionally creating an account to get to every page. Boy, I'm glad that I did that! Found out that I couldn't even register into my site. Great!

I've updated the site fifty times since all these SUPEE fixes, and everything seemed to work okay. This is why you backup your site and test it thoroughly after ANY updates! Here's the solution that got me through this.

Registration Page Goes Nowhere After Clicking Register

It's so simple, you would think that the updates to the Magento system would also think to update the base site theme. But in my case I noticed it did not. Even though they recommend to not touch your base theme and especially not base Magento files, here I am making sure the base theme is updated to match system changes. SMH!

First of all, make these changes to your theme. If your theme does not have these files, go to the base theme and copy it over to yours.

Find these two files. Copy it over to your theme:

app/design/frontend/base/default/template/customer/form/register.phtml
app/design/frontend/base/default/template/persistent/customer/form/register.phtml

Let's say your theme name is WHATWHAT. Create the folders if they're not there and add the copied register.phtml file.

app/design/frontend/WHATWHAT/default/template/customer/form/register.phtml
app/design/frontend/WHATWHAT/default/template/persistent/customer/form/register.phtml

Or if it's under the default folder, it should look something like this:

app/design/frontend/default/WHATWHAT/template/customer/form/register.phtml
app/design/frontend/default/WHATWHAT/template/persistent/customer/form/register.phtml

Inside of each file, find this line:

<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">

Add this line of code underneath it.

<?php echo $this->getBlockHtml('formkey'); ?>

Don't forget to clear your cache! If you forgot to do this, login to your Magento Admin, then go to System » Cache Management. Select all of the checkboxes, and click the orange Submit button.

Add comment


Security code
Refresh

Search

Visit fbetting.co.uk Betfair Review