PrestaShop 1.6.x. How to overcome “500 Internal Server Error” when regenerating images

[notice type=”warning”]NOTE: there are several different issues that can cause the 500 Internal Server Error message to appear. To check the exact error code, you need to enable Prestashop Debug mode or check the server error log.

zemez wordpress themes

Mostly, the issue relates to the hosting server PHP configuration and caused by not enough memory_limit and max_execution_time values.

We recommend you to contact your hosting provider to increase these values.

You may also try to regenerate images by parts:

  1. In your PrestaShop admin panel go to Preferences -> Images. Find the Regenerate thumbnails section.
  2. From Select an image option, choose an image and format from Select a format drop-down.
  3. Set Erase previous images option to No. 
  4. Click the Regenerate thumbnails button: 
  5. If you see “The thumbnails were successfully regenerated” message, that means the images were regenerated correctly.
  6. Repeat the same process for all other image types one by one.

Hopefully, this tutorial was helpful for you.

monster one