Page 1 of 1

Images Not Showing on Product Pages After Migration (OpenCart 3.0.3.8)

Posted: Mon May 26, 2025 7:29 pm
by sherri54labrecque
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.

Re: Images Not Showing on Product Pages After Migration (OpenCart 3.0.3.8)

Posted: Mon May 26, 2025 9:44 pm
by CartCoding
Are your install GD extension for PHP?

Re: Images Not Showing on Product Pages After Migration (OpenCart 3.0.3.8)

Posted: Tue May 27, 2025 7:09 pm
by paulfeakins
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?

Re: Images Not Showing on Product Pages After Migration (OpenCart 3.0.3.8)

Posted: Tue May 27, 2025 9:08 pm
by by mona
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

Re: Images Not Showing on Product Pages After Migration (OpenCart 3.0.3.8)

Posted: Wed May 28, 2025 5:51 pm
by paulfeakins
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.