Jump to content

Error 500 when trying to access a product with many combinations in the backoffice


Alejandrosi

Recommended Posts

Hi,

I get a 500 error when i try to modify a single product in the backoffice. The item has 117 different colours and i guess the problem has something to do with the combinations. 

I'm using Prestashop 1.7.1.1 and php 5.6. My php.ini has the following parameters:

max_execution_time = 90
max_input_time = 120
max_input_vars = 1000
memory_limit = 128M

Thanks

Link to comment
Share on other sites

8 minutes ago, Alejandrosi said:

I switched to debug mode but the error is the same (see attached).

 It only happens in the backoffice and the only combination is colours. It also has only one image.

Captura de pantalla 2021-03-11 a la(s) 12.05.27.png

With this information it is impossible to make a diagnosis what is wrong..

Link to comment
Share on other sites

On 3/9/2021 at 11:19 PM, Alejandrosi said:

Hi,

I get a 500 error when i try to modify a single product in the backoffice. The item has 117 different colours and i guess the problem has something to do with the combinations. 

I'm using Prestashop 1.7.1.1 and php 5.6. My php.ini has the following parameters:

max_execution_time = 90
max_input_time = 120
max_input_vars = 1000
memory_limit = 128M

Thanks

Hi,

It might be because of the language u had deleted or disabled , please check the languages and try to enable or add the language which you had previously removed or disabled. then tell me that is the culprit.

 

Thanks  

Link to comment
Share on other sites

On 3/11/2021 at 3:57 PM, SMTmardan said:

Hi,

It might be because of the language u had deleted or disabled , please check the languages and try to enable or add the language which you had previously removed or disabled. then tell me that is the culprit.

 

Thanks  

Hi, thank you for your response. I reinstalled English but I still have the same problem. 

I tried to create the product again and I faced the same issue. Would it work if instead of colour selector I create a drop down list with the colour names and instead see the colour in the images?

Link to comment
Share on other sites

19 hours ago, Alejandrosi said:

Hi, thank you for your response. I reinstalled English but I still have the same problem. 

I tried to create the product again and I faced the same issue. Would it work if instead of colour selector I create a drop down list with the colour names and instead see the colour in the images?

Not only reinstalling the language but it should be of the same ID of the language. for example if you had english language by default when you had installed it, that mean it was ID 1 , so u need to roll back your languages id to same , that is why prestashop says (do not delete any language as it will make bugs, instead just disable it).

 

and no drop down wont show colors....

can you paste the screenshot of your languages, and screenshot of the combinations before the 500 error occurs? 

Link to comment
Share on other sites

On 3/15/2021 at 7:40 AM, SMTmardan said:

Not only reinstalling the language but it should be of the same ID of the language. for example if you had english language by default when you had installed it, that mean it was ID 1 , so u need to roll back your languages id to same , that is why prestashop says (do not delete any language as it will make bugs, instead just disable it).

 

and no drop down wont show colors....

can you paste the screenshot of your languages, and screenshot of the combinations before the 500 error occurs? 

I really don't remember deleting or changing any language but I may have done it sometime. Attached are both screenshots. The product with the error is #5589.

Captura de pantalla 2021-03-18 a la(s) 12.29.09.png

Captura de pantalla 2021-03-18 a la(s) 12.29.52.png

Link to comment
Share on other sites

On 3/18/2021 at 8:33 PM, Alejandrosi said:

I really don't remember deleting or changing any language but I may have done it sometime. Attached are both screenshots. The product with the error is #5589.

Captura de pantalla 2021-03-18 a la(s) 12.29.09.png

Captura de pantalla 2021-03-18 a la(s) 12.29.52.png

in this second screenshot i can see "400073" which is way far from normal.

how many products you have and how many had you uploaded since start? please check the number of products in your catalog.

Link to comment
Share on other sites

Try to experiment. Create a new product and look how it works out with different numbers of colors. That way you can be sure whether the number of color is the problem or something else.

You can use Prestools' combi-copy to quickly copy them from another product.

Link to comment
Share on other sites

On 3/22/2021 at 12:37 PM, SMTmardan said:

in this second screenshot i can see "400073" which is way far from normal.

how many products you have and how many had you uploaded since start? please check the number of products in your catalog.

I have 775 products.

Link to comment
Share on other sites

On 9/3/2021 at 13:19, Alejandrosi said:

Hola,

Recibo un error 500 cuando intento modificar un solo producto en el backoffice. El artículo tiene 117 colores diferentes y supongo que el problema tiene algo que ver con las combinaciones. 

Estoy usando Prestashop 1.7.1.1 y php 5.6. Mi php.ini tiene los siguientes parámetros:

max_execution_time = 90
max_input_time = 120
max_input_vars = 1000
memory_limit = 128M

Gracias

Hello
Have you checked the recommended settings for prestashop 1.7.x ?, because I see that the values you indicate are below the recommended ones.
Use Php 7.1 or more

in PHP.INI change the values

max_execution_time = 300
max_input_time = 300
max_input_vars = 10000
memory_limit = 512M

You can check these links from prestashop and from Victor Rodenas

https://victor-rodenas.com/requisitos-del-servidor-en-prestashop-1-7/

https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/

Hope this helps to solve the problem

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