Jump to content

PS 1.5.2. - Problem with account authentication (new account only)


Recommended Posts

In PS 1.5.2 I run into an authentication problem.

 

When registering as a new client, if you enter a birthdate which is not accepted, you will get a white screen instead of an error message.

 

When entering a valid birthdate and then, after having properly registered, try to change the birthdate back to an invalid date, you do get the correct error message.

 

Hope someone can help me solve this.

 

Thanks,

Mattie

Link to comment
Share on other sites

I found out that there is a way to get the errors on screen and instead of a blank screen I now get this info:

 

[PrestaShopException]

 

Property Customer->birthday is not valid

at line 790 in file classes/ObjectModel.php

 

784.

785. $message = $this->validateField($field, $this->$field);

786. if ($message !== true)

787. {

788. if ($die)

789. throw new PrestaShopException($message);

790. return $error_return ? $message : false;

791. }

792. }

793.

794. return true;

 

Is this in any way helpfull to you to track what's wrong and how to solve it?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
×
×
  • Create New...