{"id":47667,"date":"2015-04-23T01:53:19","date_gmt":"2015-04-23T05:53:19","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=47667"},"modified":"2016-03-16T06:05:59","modified_gmt":"2016-03-16T10:05:59","slug":"prestashop-1-6-x-how-to-overcome-500-internal-server-error-when-regenerating-images","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-overcome-500-internal-server-error-when-regenerating-images.html","title":{"rendered":"PrestaShop 1.6.x. How to overcome &#8220;500 Internal Server Error&#8221; when regenerating images"},"content":{"rendered":"<p>\r\n<p> The following tutorial is going to show how to deal with &#8220;500 Internal Server Error&#8221; when regenerating images in Prestashop.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=KSlBClVCYY0?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to overcome &#8220;500 Internal Server Error&#8221; when regenerating images<\/a><\/p>\r\n<p class=\"attention\">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  <a href=\"\/help\/prestashop-troubleshooter-how-to-enable-server-errors-log.html\" target=\"_blank\"> Debug mode <\/a>  or check the server error log. <\/p>\r\n<p> In most cases the issue is related to the hosting server php configuration and caused by not enough <strong>memory_limit<\/strong> and <strong>max_execution_time<\/strong> values. We recommend that you contact the hosting provider for assistance. <\/p>\r\n<p>Alternatively, you may try to regenerate images by parts:<\/p>\r\n<ol>\r\n<li>\r\n<p>Log into your admin panel.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>Preferences->Images<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images1-300x168.jpg\" alt=\"prestashop_1.6._500_error_while_regenerating_images1\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-47668\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images1-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n<li>\r\n<p>Scroll down to <strong>Regenerate thumbnails<\/strong> section.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Choose the image from <strong>Select an image<\/strong> dropdown (for example Products), the image format  from <strong>Select a format<\/strong> dropdown and set <strong>Erase previous images<\/strong> option to <strong> No<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>Regenerate thumbnails<\/strong> button, confirm regenerating and wait until the regeneration is completed:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images2-300x168.jpg\" alt=\"prestashop_1.6._500_error_while_regenerating_images2\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-47669\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images2-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n<li>\r\n<p>If you see <strong>The thumbnails were successfully regenerated<\/strong> message, that means the images were regenerated correctly: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images3-300x168.jpg\" alt=\"prestashop_1.6._500_error_while_regenerating_images3\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-47670\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images3-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1.6._500_error_while_regenerating_images3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n<li>\r\n<p>Repeat the same process for all other image types one by one.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p> That is the end of the tutorial. Now you know how to deal with &#8220;500 Internal Server Error&#8221; (timeout) when regenerating images. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=KSlBClVCYY0?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to overcome &#8220;500 Internal Server Error&#8221; when regenerating images<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>The following tutorial is going to show how to deal with &#8220;500 Internal Server Error&#8221; when regenerating images in Prestashop.<\/p>\n","protected":false},"author":75,"featured_media":47674,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[946,691,537,1239,552,1930,637],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/47667"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=47667"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/47667\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/47674"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=47667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=47667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=47667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}