Post by galbeazaionut » Mon Nov 02, 2020 7:30 pm

Hello,

I have a problem with opencart 2.2.0. I cleared cache and now I can`t see all images.

https://www.sofazip.ro/

I see the images are loaded from catalogimage but in cpanel I see only image folder. (not catalogimage). How I can reset image folder cache?

EDIT: I changed in config.php DIR_IMAGE and image -> catalogimage and work partially.

Thank you!!

New member

Posts

Joined
Wed Feb 12, 2020 6:52 pm

Post by xxvirusxx » Mon Nov 02, 2020 9:32 pm

Possible hosting server issue...

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by JNeuhoff » Mon Nov 02, 2020 10:19 pm

Your images show up fine. However, you are using the Journal2 framework which is not a standard-compliant proper OpenCart extension, perhaps it handles image caches differently? If so, and if the problem happens again, you may have to get in touch with the Journal support.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by galbeazaionut » Tue Nov 03, 2020 3:38 am

Thank you guys.
The support for theme is expired :'( .

I moved the website in another subdomain (https://www.test.sofazip.ro/) and I got same issue when I press blue button.

All the images are present in image folder. See this image:

https://test.sofazip.ro/catalogimage/cache/Sofa Skin/testimonials/95faf532a724453a8c8ed58c2d54e91f_image_15-400x300.png
https://test.sofazip.ro/image/cache/Sofa Skin/testimonials/95faf532a724453a8c8ed58c2d54e91f_image_15-400x300.png

I don`t understand from where it puts catalog before image. I searched in database, I searched in all files but I can`t find anything.

Thank you!!

New member

Posts

Joined
Wed Feb 12, 2020 6:52 pm

Post by JNeuhoff » Tue Nov 03, 2020 6:30 pm

Your config.php appears to be wrongly configured. The DIR_IMAGE should point to your 'image/' folder. In OpenCart product images are normally located in the 'image/catalog' folder. And cached resized images are usually stored in the 'image/cache/catalog' folder, e.g. 'image/cache/catalog/Sofa skin cover math-470x470.jpg'. There is no catalogimage folder in OpenCart!

Yours appears to be a messed-up non-standard way of storing and handling images, possibly caused by your using the non-standard compliant Journal2 extension and a lazy-image loading script. Also, your header uses '<base href="/" />' instead of '<base href="https://www.test.sofazip.ro/" />'. You either need to switch to a standard compliant way of handling your product images, with a proper web theme. Or get the Journal2 support to sort it out. Or find a professional developer on this forum's commercial support section to do a paid customization job for it.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: Amazon [Bot] and 4 guests