I'm new with Magento and I have a problem creating a new account in a Magento 1.7.0. When I input name, email and password and I click in create account it just refreshes the page.
So, I guess, it detect an error and redirects to the same page. First, I don't know which method is being called to register a new customer. I have changed app/code/core/Mage/Customer/controllers/AccountController.php so:
/**
* Create customer account action
*/
public function createPostAction()
{
Mage::log('create post action', null, 'createAccount.log');
if (!$this->_validateFormKey()) {
$this->_redirectError(Mage::getUrl('*/*/create', array('_secure' => true)));
return;
}
Mage::log('validateFormKey() returns true', null, 'createAccount.log');
I thought that _validateFormKey() was returning false and it was redirecting. But createAccount.log file is not being created. So... How can I know which method is being called to create a new user? It would be the first step to detect the error.
I have to say that some days ago I installed the SUPEE-6788 patch, which updated this AccountController.php file.