Jump to content

Prestashop address creation error


Ajax30

Recommended Posts

On loulou.ro, the guest order form gives the error message "An error occurred while creating your address", even though all the fields are completed correctly. The Prestashop version is 1.5.2.0.

 

Can anyone tell me what could the cause of this error be? Thank you!

The AuthController.php was added, below line 387, the code:

$digits_home = strlen(Tools::getValue('phone'));
if (Tools::getValue('phone') AND $digits_home !=10)
$this->errors[] = Tools::displayError('Numarul de mobil trebuie sa fie format din 10 cifre, fara alte caractere!');

 

in order to force the user to input 10 digits. Restoring this file to its original state did not bring a change so it can't be the cause of the problem.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...