pe.pips Posted July 27, 2021 Share Posted July 27, 2021 The images of the products don't appear anymore. We have to re-upload them to fix the issue (see example attached). Any ideas how to fix this issue for all products without having to re-upload all pictures? Best Regards, Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 FYI, I have already tried to disable/enable friendly URL (https://www.prestashop.com/forums/topic/946122-resolved-product-images-not-showing-on-website/) but it has not helped Link to comment Share on other sites More sharing options...
Razi Posted July 27, 2021 Share Posted July 27, 2021 Hello, You face this problem after update Prestashop version ? Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 (edited) 2 minutes ago, Razi said: Hello, You face this problem after update Prestashop version ? Thanks for your comment. It occurs after I have moved the prestashop website to a new server Edited July 27, 2021 by pe.pips (see edit history) Link to comment Share on other sites More sharing options...
Razi Posted July 27, 2021 Share Posted July 27, 2021 2 minutes ago, pe.pips said: Thanks for your comment. It occurs after I have moved the prestashop website to a new server Kindly check all product images are in folder img/p/.../.../ Or not ? Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 img/p folder hierarchy is similar between the source and the target server and I can see plenty of files but I don't how to match a specific image file with a product. Link to comment Share on other sites More sharing options...
Shabab Posted July 27, 2021 Share Posted July 27, 2021 Hi , Regenerate images from Prestashop Backoffice and also regenerate htaccess . Below is image for regenerating images . Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 I have tried to regenerate the thumbnails but it has not fixed the issue. I have also tried to regenerate the .htaccess file (disable/enable friendly URL) but I got HTTP 500 internal error and the following log: [Tue Jul 27 19:02:13.352863 2021] [proxy_fcgi:error] [pid 2435339] [client 202.22.234.225:0] AH01071: Got error 'PHP message: PHP Warning: require(/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\nPHP message: PHP Warning: require(/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\nPHP message: PHP Fatal error: require(): Failed opening required '/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getRouting_LoaderService.php' (include_path='/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/archive_tar:.:/opt/plesk/php/7.2/share/pear') in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\nPHP message: PHP Warning: require(/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getPrestashop_AccessDenied_ListenerService.php): failed to open stream: No such file or directory in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\nPHP message: PHP Warning: require(/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getPrestashop_AccessDenied_ListenerService.php): failed to open stream: No such file or directory in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\nPHP message: PHP Fatal error: require(): Failed opening required '/var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/getPrestashop_AccessDenied_ListenerService.php' (include_path='/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/zylyz.nc/httpdocs/vendor/pear/archive_tar:.:/opt/plesk/php/7.2/share/pear') in /var/www/vhosts/zylyz.nc/httpdocs/var/cache/prod/Container9ylw0za/appProdProjectContainer.php on line 1637\n', referer: https://www.zylyz.nc/Backoffice/index.php/configure/shop/seo-urls/?_token=IhPmLYTTgCLNo36UqZJPnTC6yvw8D0xDOf3v2-qHuI4 Best Regards Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 27, 2021 Share Posted July 27, 2021 @pe.pips Please both server php version and PrestaShop version is same. Secondly, check the folder permission of img/temp and other folder permission is not changed 755 for folder and 644 for files. Thank you Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 20 minutes ago, SmartDataSoft said: @pe.pips Please both server php version and PrestaShop version is same. Secondly, check the folder permission of img/temp and other folder permission is not changed 755 for folder and 644 for files. Thank you Thanks for your input. Php versions are the same and permission are 755 for folders and 644 for files Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 27, 2021 Share Posted July 27, 2021 @pe.pips Please remove the cache file from var/cache. , prod and dev, you can rename then and again regenerate the cache from back office. I think this will solve the issues Thank you Link to comment Share on other sites More sharing options...
Danny Posted July 27, 2021 Share Posted July 27, 2021 check your php options inside cpanel on your new server. Danny Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 24 minutes ago, Danny said: check your php options inside cpanel on your new server. Danny Done. They are the same. I have used Plesk migrator which copy the php configuration of the domains Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 27 minutes ago, SmartDataSoft said: @pe.pips Please remove the cache file from var/cache. , prod and dev, you can rename then and again regenerate the cache from back office. I think this will solve the issues Thank you Thanks for your input but it doesn't work 😞 Link to comment Share on other sites More sharing options...
Danny Posted July 27, 2021 Share Posted July 27, 2021 19 minutes ago, pe.pips said: Done. They are the same. I have used Plesk migrator which copy the php configuration of the domains check your website with browser consolle, it's full of errors. Your migration has been made in a wrong way. Danny Link to comment Share on other sites More sharing options...
pe.pips Posted July 27, 2021 Author Share Posted July 27, 2021 I have copied/pasted the folder /imp/p from the source server to the target server but it doesn't help. Link to comment Share on other sites More sharing options...
pe.pips Posted July 28, 2021 Author Share Posted July 28, 2021 I have tried again to generate the thumbnails and it's OK now. Best Regards Link to comment Share on other sites More sharing options...
wiros Posted November 2, 2021 Share Posted November 2, 2021 Hi, I have exact the same issue. Is there anu news about this promlem? Thanks. Link to comment Share on other sites More sharing options...
pe.pips Posted November 2, 2021 Author Share Posted November 2, 2021 Hi @wiros. I regenerated the thumbnails and it worked for me. See below On 7/27/2021 at 5:15 PM, Shabab said: Hi , Regenerate images from Prestashop Backoffice and also regenerate htaccess . Below is image for regenerating images . Link to comment Share on other sites More sharing options...
wiros Posted November 3, 2021 Share Posted November 3, 2021 Thanks! I tried this method, but it result in this error : 504 Gateway Time-out Link to comment Share on other sites More sharing options...
wiros Posted November 3, 2021 Share Posted November 3, 2021 I regenerated the images but still I have the same problem. It should be neccessary becace I copied domain ABC to DEF, all at the same server and copy the database via Plesk function. Now the Product ID, Title and images are random distrurbed. Some parts has even 2 different images form 2 different products. So the link to the image seems nof correct. Where in the database could I check the image link? Link to comment Share on other sites More sharing options...
Rizzzle Posted April 25, 2023 Share Posted April 25, 2023 (edited) Bump. I'm having this issue on 1.7.8.7 Haven't migrated or anything. Was all working fine a few months ago. When adding new images, they do not display, though can be found in the ftp. Can anyone help? Thanks FIXED - Issue with Jpresta speedpack not converting images to WebP format. Edited April 25, 2023 by Rizzzle (see edit history) 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