Post by pixacor » Wed Sep 15, 2021 11:28 pm

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")?

New member

Posts

Joined
Mon Jul 29, 2019 12:55 am

Post by straightlight » Wed Sep 15, 2021 11:52 pm

pixacor wrote:
Wed Sep 15, 2021 11:28 pm
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")?
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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pixacor » Thu Sep 16, 2021 12:19 am

Yes all the above was verified. htaccess I never touched. What should I be checking for in there? In the database the paths I see all start where the config file ends so that appears correct.

Thanks for responding.

New member

Posts

Joined
Mon Jul 29, 2019 12:55 am

Post by straightlight » Thu Sep 16, 2021 12:25 am

pixacor wrote:
Thu Sep 16, 2021 12:19 am
Yes all the above was verified. htaccess I never touched. What should I be checking for in there? In the database the paths I see all start where the config file ends so that appears correct.

Thanks for responding.
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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pixacor » Thu Sep 16, 2021 12:50 am

Ok thanks.

New member

Posts

Joined
Mon Jul 29, 2019 12:55 am

Post by straightlight » Thu Sep 16, 2021 1:53 am

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 103 guests