vifra Posted September 30, 2019 Share Posted September 30, 2019 Hi. When a new customer wants to register and after enter first name, last name, email and pass, I see a Server Error 500. It doesn´t matter if a password is filled out or not. It always gives this message as shown below. Have no clue where to look! Any help is appreciated... In DEV mode below message is shown: Length of property Customer->passwd is currently 60 chars. It must be between 0 and 32 chars.* *(original text in NL: De lengte van eigenschap Customer->passwd is momenteel 60 tekens. Deze moet tussen 0 en 32 tekens lang zijn.) at line 944 in file classes/ObjectModel.php 939. } 940. 941. $message = $this->validateField($field, $this->$field); 942. if ($message !== true) { 943. if ($die) { 944. throw new PrestaShopException($message); 945. } 946. return $error_return ? $message : false; 947. } 948. } 949. ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 518 - classes/ObjectModel.php] ObjectModelCore->add - [line 261 - classes/Customer.php] - [2 Arguments] CustomerCore->add - [line 476 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 189 - classes/form/CustomerPersister.php] CustomerPersisterCore->create - [line 61 - classes/form/CustomerPersister.php] - [2 Arguments] CustomerPersisterCore->save - [line 190 - classes/form/CustomerForm.php] - [3 Arguments] CustomerFormCore->submit - [line 65 - classes/checkout/CheckoutPersonalInformationStep.php] CheckoutPersonalInformationStepCore->handleRequest - [line 57 - classes/checkout/CheckoutProcess.php] - [1 Arguments] CheckoutProcessCore->handleRequest - [line 201 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 205 - classes/controller/Controller.php] ControllerCore->run - [line 379 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
vifra Posted October 1, 2019 Author Share Posted October 1, 2019 I have been looking into it and could it be that the encrypting makes 60 characters out of it and has a conflict with the 0 to 32 characters allowed in the password?? I am just guessing here... Can anybody tell me where to look and what to change? Link to comment Share on other sites More sharing options...
vifra Posted October 2, 2019 Author Share Posted October 2, 2019 I am using prestashop 1.7.2.3. Would an upgrade to a newer version of prestashop solve the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now