Jump to content

Generating combinations results in 400 (Bad Request) error


maw95

Recommended Posts

Hello,

I have a problem with generating combinations on one of my sites - every time I try to generate them, there's a red error popup in top-right corner: "Can't update settings".

Error in the Chrome  console is:

"POST {back office url}/index.php/sell/catalog/products/1?_token=sORZZ_cpZHnCNZ04SH0C9NMNqkGEsMif3-u0mfkDwA4 400 (Bad Request)"

Ajax response (in 'network tab') is:

{"combination_12_attribute_ecotax":["This value should not be blank."],"combination_12_attribute_minimal_quantity":["This value should not be blank."],"combination_12_attribute_quantity":["This value should not be blank."],"combination_13_attribute_ecotax":["This value should not be blank."],"combination_13_attribute_minimal_quantity":["This value should not be blank."],"combination_13_attribute_quantity":["This value should not be blank."],"combination_14_attribute_ecotax":["This value should not be blank."],"combination_14_attribute_minimal_quantity":["This value should not be blank."],"combination_14_attribute_quantity":["This value should not be blank."],"combination_15_attribute_ecotax":["This value should not be blank."],"combination_15_attribute_minimal_quantity":["This value should not be blank."],"combination_15_attribute_quantity":["This value should not be blank."]}

Most interesting things here are:

- I've upgraded Presta from 1.7.6.3 to 1.7.6.8 - with no result

- There's PHP 5.6 on the server, but there are many other PrestaShop shops on this server - and combinations work there properly

- I don't try to make huge amount of combinations - it doesn't matter if I try to do 8, 4 or 2 of them - there's always the same error

- It doesn't appear to be browser issue - tried on Chrome, Firefox and Edge

 

Errors, form data and server information are on screenshots. Anyone can help?

1.jpg

2.jpg

3.jpg

4.jpg

5.jpg

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...