I'm a Debian 11 user with Opencart 3.0.3.2 and PHP version 7.4.33
Unfortunately generated emails e.g. Password Reset, are arriving completely unformatted ie just a string of text with no spaces, line feeds or hyperlinks. Is this a known problem?
Unfortunately generated emails e.g. Password Reset, are arriving completely unformatted ie just a string of text with no spaces, line feeds or hyperlinks. Is this a known problem?
On your desktop or the server that's hosting the site?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
ADD Creative - unfortunately, the link that shows the fix no longer exists!
https://www.free-time-info.com/en/how-t ... -0-x.html/
https://www.free-time-info.com/en/how-t ... -0-x.html/
Found the correc t link:
https://www.free-time-info.ro/how-to-fi ... -0-x.html/
but it didnt fix the problem..
https://www.free-time-info.ro/how-to-fi ... -0-x.html/
but it didnt fix the problem..
Both links ADD Creative work and are not the same as the link you provided.
Maybe try again following the correct links Add Creative's provided?
https://github.com/opencart/opencart/issues/7997
viewtopic.php?f=199&t=228129
Maybe try again following the correct links Add Creative's provided?
https://github.com/opencart/opencart/issues/7997
viewtopic.php?f=199&t=228129
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
OK thanks.
I have:
1. Updated to twig 3.0 using composer
2. Changed system/library/template/twig/lexer.php line 162 to
if (isset($this->positions[2][$this->position][0]) && ($this->options['whitespace_trim'] === $this->positions[2][$this->position][0])) {
$text = rtrim($text);
But still have the problem. This is what my password reset email looks like, but as text rather than hyperlink (added by this posting):
A new password was requested for Your Store customer account.To reset your password click on the link below:http://localhost/opencart/index.php?rou ... z1nYK8rThe IP used to make this request was:127.0.0.1
I have:
1. Updated to twig 3.0 using composer
2. Changed system/library/template/twig/lexer.php line 162 to
if (isset($this->positions[2][$this->position][0]) && ($this->options['whitespace_trim'] === $this->positions[2][$this->position][0])) {
$text = rtrim($text);
But still have the problem. This is what my password reset email looks like, but as text rather than hyperlink (added by this posting):
A new password was requested for Your Store customer account.To reset your password click on the link below:http://localhost/opencart/index.php?rou ... z1nYK8rThe IP used to make this request was:127.0.0.1
We can not see the attachment/link because it is on localhost.
If this is not working for you
- more information is needed
- the site to test
- or a developer to look at it
If this is not working for you
- more information is needed
- the site to test
- or a developer to look at it
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
You only need to one of those, not both. Make sure your clear the template cache, modifications, etc.
Who is online
Users browsing this forum: Google [Bot] and 16 guests