Post by SecurityHardware1 » Tue Jul 13, 2021 8:51 pm

Hi,

We currently operate our website on OpenCart 2.1.0.1, and today have experienced an issue for the first time where images are uploading with a message to confirm upload, however are being uploaded with incorrect file names and not displaying correctly once uploaded and searched for.

I've attached some examples of this to show the file name on our server, and the issue with the display and difference in file name once uploaded on the OC Image Manager.

Could someone help at all?

Thanks in advance!

Attachments

image manager.JPG

image of file on image manager with different name and not displaying - image manager.JPG (31.43 KiB) Viewed 636 times

server image.JPG

image of file on server - server image.JPG (34.49 KiB) Viewed 636 times



Posts

Joined
Wed Mar 17, 2021 7:01 pm

Post by straightlight » Tue Jul 13, 2021 9:19 pm

More information is needed. Error logs, extensions installed.

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 SecurityHardware1 » Tue Jul 13, 2021 9:30 pm

Please see the attached error log download, this may just relate to a line of code in the product/category.tpl file however.

In terms of extensions installed, please see both attachments showing all the complete list of modules we have installed at the moment.

Attachments

2-1.JPG

2-1.JPG (135.04 KiB) Viewed 604 times

2-2.JPG

2-2.JPG (61.83 KiB) Viewed 604 times



Posts

Joined
Wed Mar 17, 2021 7:01 pm

Post by SecurityHardware1 » Tue Jul 13, 2021 9:31 pm

Error log attached again here.

Attachments



Posts

Joined
Wed Mar 17, 2021 7:01 pm

Post by straightlight » Tue Jul 13, 2021 9:39 pm

Caused by an installed extension. Contact the extension developer to resolve this issue since $discounts does not exist in product/category.tpl from the core.

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 SecurityHardware1 » Tue Jul 13, 2021 9:42 pm

Thanks for your reply. From the error can you see which extension is causing the issue? We have many installed so unsure which of the extensions may be causing the problem.

Is this the issue that is causing images not to load? We are experiencing further issues now with order confirmation emails not being received internally or by the customer.


Posts

Joined
Wed Mar 17, 2021 7:01 pm

Post by straightlight » Tue Jul 13, 2021 9:46 pm

SecurityHardware1 wrote:
Tue Jul 13, 2021 9:42 pm
Thanks for your reply. From the error can you see which extension is causing the issue? We have many installed so unsure which of the extensions may be causing the problem.

Is this the issue that is causing images not to load? We are experiencing further issues now with order confirmation emails not being received internally or by the customer.
You'd need to uninstall each of them and re-install each extensions until finding which one is actually causing the 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

Post by by mona » Tue Jul 13, 2021 9:50 pm

Do not use spaces in image files (or any files)
Use _ or - instead

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 straightlight » Tue Jul 13, 2021 9:53 pm

The space or no space still doesn't explain the persistency showing the $discounts error in the logs. This also needs to be checked.

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 by mona » Tue Jul 13, 2021 11:03 pm

straightlight wrote:
Tue Jul 13, 2021 9:53 pm
The space or no space still doesn't explain the persistency showing the $discounts error in the logs. This also needs to be checked.
Indeed - I have not involved myself in areas you have fully covered - just added my point to the part that wasn’t.

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
Who is online

Users browsing this forum: No registered users and 208 guests