Post by iplocker » Sun Jun 20, 2021 4:09 pm

Hello.
I have a clean installation of 3.0.3.7 where I have install Greeks .
Making order with Greeks has some issues some letters not show up correct : https://prnt.sc/161hul9
Making order with English also I m face some html tags show up too: https://prnt.sc/161k41h

Any idea whats goin on ?
PS. We are using google gmail domain and we have set SMPT settings on the store, in the same server we have 2.3.0.2 with no issues at all .

Thanks

Attachments

2.png

English Version of Order Email - 2.png (88.92 KiB) Viewed 245 times

1.png

Greek Version of Order Email - 1.png (125.66 KiB) Viewed 245 times

Last edited by iplocker on Mon Jun 21, 2021 2:24 pm, edited 2 times in total.

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by straightlight » Sun Jun 20, 2021 6:49 pm

Screenshot images on those links can't be viewed.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by iplocker » Sun Jun 20, 2021 10:44 pm

Hi.
I have attach the screenshots directly to the post.
Thanks

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by ADD Creative » Sun Jun 20, 2021 11:18 pm

iplocker wrote:
Sun Jun 20, 2021 4:09 pm
Hello.
I have a clean installation of 3.0.3.7 where I have install Greeks .
Making order with Greeks has some issues some letters not show up correct : https://prnt.sc/161hul9
Making order with English also I m face some html tags show up too: https://prnt.sc/161k41h

Any idea whats goin on ?
PS. We are using google gmail domain and we have set SMPT settings on the store, in the same server we have 2.3.0.2 with no issues at all .

Thanks
I can tell from your screenshots that catalog/view/theme/default<or your theme>/template/mail/order_add.twig has been modified. Check the file against the original and work out what has changed.

For the characters issue, check catalog/language/<your language >/mail/order_add.php in a decent text editor.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by iplocker » Sun Jun 20, 2021 11:50 pm

Hello.
I havent modify anything .
Its a default installation of Opencart 3.0.3.7 version .
The Greek files also are UTF-8 encoding and as Greeks developers saying they have no issues reported .
I remember those issues was reported years ago where the collation of the db's are wrong , but here I see the db is set correct with utf8_general_ci .
So I m wondering what is wrong , php version from 3.0.3.6 and 3.0.3.7 change or something relative ?
I have PHP Version 7.3.28 at the server btw.
Thanks

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by straightlight » Mon Jun 21, 2021 12:45 am

iplocker wrote:
Sun Jun 20, 2021 11:50 pm
Hello.
I havent modify anything .
Its a default installation of Opencart 3.0.3.7 version .
The Greek files also are UTF-8 encoding and as Greeks developers saying they have no issues reported .
I remember those issues was reported years ago where the collation of the db's are wrong , but here I see the db is set correct with utf8_general_ci .
So I m wondering what is wrong , php version from 3.0.3.6 and 3.0.3.7 change or something relative ?
I have PHP Version 7.3.28 at the server btw.
Thanks
Where?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ADD Creative » Mon Jun 21, 2021 1:09 am

iplocker wrote:
Sun Jun 20, 2021 11:50 pm
Hello.
I havent modify anything .
Its a default installation of Opencart 3.0.3.7 version .
The Greek files also are UTF-8 encoding and as Greeks developers saying they have no issues reported .
I remember those issues was reported years ago where the collation of the db's are wrong , but here I see the db is set correct with utf8_general_ci .
So I m wondering what is wrong , php version from 3.0.3.6 and 3.0.3.7 change or something relative ?
I have PHP Version 7.3.28 at the server btw.
Thanks
All the tables in the source code for the mail have a 20px margin at the bottom. None of your screenshots show this.
https://github.com/opencart/opencart/bl ... d.twig#L52

You may not have changed it but maybe a theme, extension or your language pack has. Unless your email provider/client is corrupting it.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by iplocker » Mon Jun 21, 2021 5:55 am

@straightlight where what ?
@ADD Creative The screenshot are not show all the order email , I have the default OC 3.0.3.7 no theme or extension or something else installed except the Greek Language from here:
https://www.opencart.com/index.php?rout ... n_id=33334
Thanks

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by ADD Creative » Mon Jun 21, 2021 7:20 am

For the characters issue, maybe it's this issue.
https://github.com/opencart/opencart/issues/6880

It looks like the attempted fix will make it worse and it seems this is another bug that has been ported to the 3.x branch without testing.

Try applying this change as encoding will work around the issue.
https://github.com/opencart/opencart/co ... 5e43cc420e

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by iplocker » Mon Jun 21, 2021 2:23 pm

Hello.
Indeed that worked !!
Thank you my friend for the investigation !!
Best Regards!

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm

Who is online

Users browsing this forum: No registered users and 23 guests