Jump to content

Product's image don't appear anymore


pe.pips

Recommended Posts

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,

screenshot.png

Link to comment
Share on other sites

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

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

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

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

  • 3 months later...

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

  • 1 year later...

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 by Rizzzle (see edit history)
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...