Toeareg Posted November 13, 2012 Share Posted November 13, 2012 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 More sharing options...
benjamin utterback Posted November 13, 2012 Share Posted November 13, 2012 Hello Mattie, Thank you for this message. I am not able to reproduce this issue. Have you tried to use different browsers? Cleared cache and cookies? Please let me know and I will further investigate. Link to comment Share on other sites More sharing options...
Toeareg Posted November 13, 2012 Author Share Posted November 13, 2012 (edited) Thanks for the reply Benjamin, Yes I did test on several PC's, all the same problem. Did send you a PM where you can have a look for yourself. Cheers, Mattie Edited November 13, 2012 by Toeareg (see edit history) Link to comment Share on other sites More sharing options...
Toeareg Posted November 14, 2012 Author Share Posted November 14, 2012 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; ObjectModelCore->validateFields - [line 265 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 465 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 214 - classes/Customer.php] - [2 Arguments] CustomerCore->add - [line 523 - controllers/front/AuthController.php] - [0 Argument] AuthControllerCore->processSubmitAccount - [line 253 - controllers/front/AuthController.php] - [0 Argument] AuthControllerCore->postProcess - [line 159 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 29 - index.php] - [0 Argument] 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 More sharing options...
Rolige Posted November 24, 2012 Share Posted November 24, 2012 I have the same problem when tried to register an customer with date 26 / december / 1982 it show the same error in back office and front office, Did you solve the problem? Link to comment Share on other sites More sharing options...
cardnpaste Posted December 31, 2012 Share Posted December 31, 2012 I have the same problem.. someone pls help! Link to comment Share on other sites More sharing options...
Recommended Posts