Post by sherri54labrecque » Mon May 26, 2025 7:29 pm

Hi everyone,

I'm encountering an issue after migrating my OpenCart 3.0.3.8 store to a new server. All product details, categories, and customers appear to have transferred correctly, but the product images are not displaying on the frontend product pages or in the administration panel. Instead, I'm just seeing broken image icons.

Here's what I've checked so far:

Image paths: I've verified that the image paths in the database (oc_product_image and oc_product) are correct and point to the right locations relative to the image/catalog/ directory.
File permissions: I've set the permissions for the image/ directory and all its subdirectories to 0755 (and even tried 0777 temporarily for testing, but reverted).
config.php and admin/config.php: I've double-checked that both config.php files have the correct HTTP_SERVER, HTTPS_SERVER, DIR_APPLICATION, DIR_SYSTEM, DIR_IMAGE, etc., paths for the new server.
Error logs: The OpenCart error logs (system/storage/logs/error.log) are not showing any specific errors related to image loading. The server's Apache/Nginx error logs also don't indicate any issues.
Image manager: When I try to browse images through the "Image Manager" in the admin panel, the thumbnails also appear broken.
I've cleared all caches (theme cache, Twig cache, SASS cache) multiple times from the admin dashboard and also manually deleted files from system/storage/cache.

Has anyone experienced a similar issue after migrating OpenCart 3.x, and if so, what was the solution? Any insights or suggestions on what else I should investigate would be greatly appreciated!

Thanks in advance for your help.

prepaidcardstatus com



Posts

Joined
Mon May 26, 2025 7:27 pm

Post by CartCoding » Mon May 26, 2025 9:44 pm

Are your install GD extension for PHP?

Tracking Assiatant - Integrate Realtime Tracking Information on Website
OpenCart Extensions, Plugins Development, Themes Design and Website Optimization
FREE Guidance and Advice at https://www.cartcoding.com


User avatar
Newbie

Posts

Joined
Thu Aug 03, 2023 3:48 pm

Post by paulfeakins » Tue May 27, 2025 7:09 pm

sherri54labrecque wrote:
Mon May 26, 2025 7:29 pm
File permissions: I've set the permissions for the image/ directory and all its subdirectories to 0755 (and even tried 0777 temporarily for testing, but reverted).
And have you set all files to be 644?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by by mona » Tue May 27, 2025 9:08 pm

The site is a wordpress site.
At a guess this is spam or some SEO company that promises "lots of links" and all they do is post spam on forums ..

If this is a real person, please provide a link to the actual site

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Wed May 28, 2025 5:51 pm

by mona wrote:
Tue May 27, 2025 9:08 pm
If this is a real person, please provide a link to the actual site
Feel free to PM me if they don't come back and I'll ban them for spamming.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Bing [Bot] and 42 guests