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.
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.
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
And have you set all files to be 644?sherri54labrecque wrote: ↑Mon May 26, 2025 7:29 pmFile 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).
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
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
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
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
Who is online
Users browsing this forum: Amazon [Bot] and 29 guests