Alejandrosi Posted March 9, 2021 Share Posted March 9, 2021 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 More sharing options...
musicmaster Posted March 9, 2021 Share Posted March 9, 2021 Switch debug mode on Link to comment Share on other sites More sharing options...
juanrojas Posted March 10, 2021 Share Posted March 10, 2021 hello, I think there are many combinations and prestashop alone will not achieve it, you need a module Link to comment Share on other sites More sharing options...
musicmaster Posted March 10, 2021 Share Posted March 10, 2021 57 minutes ago, juanrojas said: hello, I think there are many combinations and prestashop alone will not achieve it, you need a module If it is only 117 combinations it should work. If there are also other attributes it might be tricky. Link to comment Share on other sites More sharing options...
Alejandrosi Posted March 11, 2021 Author Share Posted March 11, 2021 On 3/9/2021 at 3:41 PM, musicmaster said: Switch debug mode on 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. Link to comment Share on other sites More sharing options...
musicmaster Posted March 11, 2021 Share Posted March 11, 2021 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. With this information it is impossible to make a diagnosis what is wrong.. Link to comment Share on other sites More sharing options...
Mian Waqas Posted March 11, 2021 Share Posted March 11, 2021 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 More sharing options...
Alejandrosi Posted March 14, 2021 Author Share Posted March 14, 2021 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 More sharing options...
Mian Waqas Posted March 15, 2021 Share Posted March 15, 2021 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 More sharing options...
Alejandrosi Posted March 18, 2021 Author Share Posted March 18, 2021 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. Link to comment Share on other sites More sharing options...
Mian Waqas Posted March 22, 2021 Share Posted March 22, 2021 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. 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 More sharing options...
musicmaster Posted March 22, 2021 Share Posted March 22, 2021 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 More sharing options...
Alejandrosi Posted March 23, 2021 Author Share Posted March 23, 2021 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 More sharing options...
musicmaster Posted March 24, 2021 Share Posted March 24, 2021 7 hours ago, Alejandrosi said: I have 775 products. There are modules that produce this kind of effect. For example modules for buying continuing scale products (like wood at an arbitrary length). Please tell what relevant modules you are using. Link to comment Share on other sites More sharing options...
Macu Posted March 24, 2021 Share Posted March 24, 2021 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 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