Jump to content

[Solved]Error 500 when trying to edit products prestashop 1.7.6.2


Iris96

Recommended Posts

Hello everyone,

I am getting the following error when trying to edit products in backend of my shop. I have in total 5160 articles through CSV imported with their combinations also. It has been working when there were less products. Does it have something to do that are so many articles in my store ? What can I do to solve it ?

I tried to clear cache. Also to enable debug mode. After enable of debug mode I couldnt reach the backend of my store because of some errors of php, so I turned it off.

Thank you in advance!

image.png.471a673ad4bcbc03705bb6ebd4ae6647.png

Edited by Iris96 (see edit history)
Link to comment
Share on other sites

Hello. It seems some fields filled wrong. Please, follow my steps and check some data:

1) Maybe, the products contains iframes or length of descs too long. First enter general settings of PrestaShop (where you enable SSL), enbale HTML entities option and save. Enter product settings and change length of description and save.

2) Be sure the product correctly assigned to right shop and shop group.

 

Let us know about the result.

Edited by HelperPro (see edit history)
Link to comment
Share on other sites

Hello,

Thank you very much for your reply!

In general, settings are like that

image.thumb.png.3b610fd165268425ea11f492f6a47a59.png

Than under Products settings, it is the option only fort short description. It was 800 and I changed it to 2000. Still cannot edit products.

image.thumb.png.7eda773970f68bcfd8b7390b773c81fc.png

Very often the shop takes too long LOAD time to be open. This doesn't have happened me before. And after no reply after long time I become this notification

image.png.ef1bb96a610d684950aece1800417716.png

This happens very often. Only sometimes, it can be reached that the webpage is opened. 

Thank you in advance !

 

 

Edited by Iris96 (see edit history)
Link to comment
Share on other sites

Uncaught PHP Exception Symfony\Component\Debug\Exception\OutOfMemoryException: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"

It seems it is your server side error which returns you 500 error. Need to increase memory_limit (max_execution_time also if it is possible). You can increase it by yourself or contact host to increase it. This error occurs depending on 2 things:

1) When the product contains a lot of images, texts

2) When the product contains a lot of combination and related data.

I hope this will solve your faced issue. After increasing necessary values, if the error will be still there, do not hesitate to contact here again.

Edited by HelperPro (see edit history)
  • Thanks 1
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...