Hello all.
Opencart 3.0.7 install here.
I created a new store and did all of my work on a development server. Everything works great. I now moved my store to the live server under a subdomain before making live. All functions and such work, but suddenly all images are missing.
I edited the config files to the new directories with no problem. I did a cache refresh and in admin. No luck.
When I look at the images on the loaded page in HTML, the images aren't dead links. They are actually gone entirely. Basically here is a copy of what the HTML is for an image:
<img src data-largeimg alt="Item1" title="Item1" width="800" height="800">
As you can see, the image path entirely is missing. Here is the same image code from the working developer site before the move.
<img src="/image/cache/catalog/item1.jpg" srcset="/image/cache/catalog/item1.jpg 1x, /image/cache/catalog/item1.jpg 2x" data-largeimg="/image/cache/catalog/item1.jpg" alt="item1" title="item1" width="800" height="800">
What could be causing that? Not a broken image link, as opposed to missing the (="path here")?
Opencart 3.0.7 install here.
I created a new store and did all of my work on a development server. Everything works great. I now moved my store to the live server under a subdomain before making live. All functions and such work, but suddenly all images are missing.
I edited the config files to the new directories with no problem. I did a cache refresh and in admin. No luck.
When I look at the images on the loaded page in HTML, the images aren't dead links. They are actually gone entirely. Basically here is a copy of what the HTML is for an image:
<img src data-largeimg alt="Item1" title="Item1" width="800" height="800">
As you can see, the image path entirely is missing. Here is the same image code from the working developer site before the move.
<img src="/image/cache/catalog/item1.jpg" srcset="/image/cache/catalog/item1.jpg 1x, /image/cache/catalog/item1.jpg 2x" data-largeimg="/image/cache/catalog/item1.jpg" alt="item1" title="item1" width="800" height="800">
What could be causing that? Not a broken image link, as opposed to missing the (="path here")?
Ensure both config.php files are properly configured as well as your .htaccess file and that the database using the server paths still matches your current server paths where they all apply.pixacor wrote: ↑Wed Sep 15, 2021 11:28 pmHello all.
Opencart 3.0.7 install here.
I created a new store and did all of my work on a development server. Everything works great. I now moved my store to the live server under a subdomain before making live. All functions and such work, but suddenly all images are missing.
I edited the config files to the new directories with no problem. I did a cache refresh and in admin. No luck.
When I look at the images on the loaded page in HTML, the images aren't dead links. They are actually gone entirely. Basically here is a copy of what the HTML is for an image:
<img src data-largeimg alt="Item1" title="Item1" width="800" height="800">
As you can see, the image path entirely is missing. Here is the same image code from the working developer site before the move.
<img src="/image/cache/catalog/item1.jpg" srcset="/image/cache/catalog/item1.jpg 1x, /image/cache/catalog/item1.jpg 2x" data-largeimg="/image/cache/catalog/item1.jpg" alt="item1" title="item1" width="800" height="800">
What could be causing that? Not a broken image link, as opposed to missing the (="path here")?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You can either contact me directly via the forum PM or create a new service request in the Commercial Support section of the forum to solve this issue as a custom job. As for the .htaccess, config.php and admin/config.php files, without database information, you would need to post them between CODE tags on the forum.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Note: Attempted to assist the user. User remains unresponsive. It looks like this issue is related to sub-folders and user has not configured a sub-domain through, either, .htaccess or his host console which is why some elements are not loading. User also stated that the IMG SRC is not loading regardless if it originates from the default theme or custom theme.
Therefore, it's not an Opencart issue.
Therefore, it's not an Opencart issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 317 guests