Jump to content

Edit History

TillyOak

TillyOak

So, I'm just trying to keep this thread alive as I believe there are many other fragmented threads all over these forums with similar issues to what I've experienced and "I think" I've managed to solve them all bar one.   Did ANOTHER duplication of the old site in a test environment and this time I left my "GB" language enabled and as default, enabled the "en" language (US) as this was previous disabled and left it as an additional language rather than make it the default one.   Ran the upgrade and received the usual errors as above, went through all the usual fixes, etc and this time I can now edit the products without any issues, even those with attributes/features, etc so I reckon having disabled the "GB" language whilst upgrading was the issue here but I have one last issue and that is that customers cannot login and new customers cannot register.   When an existing user attempts to log in, it just reverts them back to the log in screen although something clearly happens in the back end because the "Active Shopping Cart" then shows my customer account as having generated a cart.   Also, entering an incorrect password for the customer account shows "Authentication Failed" which clearly shows the issue isn't connectivity between the front end and dbase.   Adding items to the basket (still not logged in remember) and then checking out allows me to log in successfully but then the log in simply expires as soon as I move to another page.   

Similarly, trying to register a new account throws the following:

The length of property Customer->passwd is currently 60 chars. It must be between 0 and 32 chars.
at line 1003 in file classes/ObjectModel.php

Quote

998.             }
999. 
1000.             $message = $this->validateField($field, $this->$field);
1001.             if ($message !== true) {
1002.                 if ($die) {
1003.                     throw new PrestaShopException($message);
1004.                 }
1005. 
1006.                 return $error_return ? $message : false;
1007.             }
1008.         }

Even trying to amend this directly in the dbase makes no difference, and trying to add a new customer from the back office throws:

Quote

An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0]

Then in debug it says:

Quote

Matched route "admin_customers_create".

Quote

"route" => "admin_customers_create"
  "route_parameters" => [▶]
  "request_uri" => "https://xxxxxxxxxxxxxxxxx.co.uk/adminxxxxxxxxx/index.php/sell/customers/new?_token=hoTUBL54asJujVS9oDnXAMqo9or85ZYa4iCUxDHxn6o"
  "method" => "POST"

If anyone can offer any assistance as to how this can be fixed I'd really appreciate it.   If I manage to get this fixes then I'll recreate the update process using all the steps I've already done and if it works again I'll create a step by step on how I did it and the steps involved which I hope may help a lot of other people :)

Cheers

Marko

TillyOak

TillyOak

So, I'm just trying to keep this thread alive as I believe there are many other fragmented threads all over these forums with similar issues to what I've experienced and "I think" I've managed to solve them all bar one.   Did ANOTHER duplication of the old site in a test environment and this time I left my "GB" language enabled and as default, enabled the "en" language (US) as this was previous disabled and left it as an additional language rather than make it the default one.   Ran the upgrade and received the usual errors as above, went through all the usual fixes, etc and this time I can now edit the products without any issues, even those with attributes/features, etc so I reckon having disabled the "GB" language whilst upgrading was the issue here but I have one last issue and that is that customers cannot login and new customers cannot register.   When an existing user attempts to log in, it just reverts them back to the log in screen although something clearly happens in the back end because the "Active Shopping Cart" then shows my customer account as having generated a cart.   Also, entering an incorrect password for the customer account shows "Authentication Failed" which clearly shows the issue isn't connectivity between the front end and dbase.   Adding items to the basket (still not logged in remember) and then checking out allows me to log in successfully but then the log in simply expires as soon as I move to another page.   

Similarly, trying to register a new account throws the following:

The length of property Customer->passwd is currently 60 chars. It must be between 0 and 32 chars.
at line 1003 in file classes/ObjectModel.php

Quote

998.             }
999. 
1000.             $message = $this->validateField($field, $this->$field);
1001.             if ($message !== true) {
1002.                 if ($die) {
1003.                     throw new PrestaShopException($message);
1004.                 }
1005. 
1006.                 return $error_return ? $message : false;
1007.             }
1008.         }

Even trying to amend this directly in the dbase makes no difference, but if anyone can offer any assistance as to how this can be fixed I'd really appreciate it.   If I manage to get this fixes then I'll recreate the update process using all the steps I've already done and if it works again I'll create a step by step on how I did it and the steps involved which I hope may help a lot of other people :)

Cheers

Marko

TillyOak

TillyOak

So, I'm just trying to keep this thread alive as I believe there are many other fragmented threads all over these forums with similar issues to what I've experienced and "I think" I've managed to solve them all bar one.   Did ANOTHER duplication of the old site in a test environment and this time I left my "GB" language enabled and as default, enabled the "en" language (US) as this was previous disabled and left it as an additional language rather than make it the default one.   Ran the upgrade and received the usual errors as above, went through all the usual fixes, etc and this time I can now edit the products without any issues, even those with attributes/features, etc so I reckon having disabled the "GB" language whilst upgrading was the issue here but I have one last issue and that is that customers cannot login and new customers cannot register.   When an existing user attempts to log in, it just reverts them back to the log in screen although something clearly happens in the back end because the "Active Shopping Cart" then shows my customer account as having generated a cart.   Adding items to the basket (still not logged in remember) and then checking out allows me to log in successfully but then the log in simply expires as soon as I move to another page.   Similarly, trying to register a new account throws the following:

The length of property Customer->passwd is currently 60 chars. It must be between 0 and 32 chars.
at line 1003 in file classes/ObjectModel.php

Quote

998.             }
999. 
1000.             $message = $this->validateField($field, $this->$field);
1001.             if ($message !== true) {
1002.                 if ($die) {
1003.                     throw new PrestaShopException($message);
1004.                 }
1005. 
1006.                 return $error_return ? $message : false;
1007.             }
1008.         }

Even trying to amend this directly in the dbase makes no difference, but if anyone can offer any assistance as to how this can be fixed I'd really appreciate it.   If I manage to get this fixes then I'll recreate the update process using all the steps I've already done and if it works again I'll create a step by step on how I did it and the steps involved which I hope may help a lot of other people :)

Cheers

Marko

×
×
  • Create New...