however i think i changed something in one of the files and now i get this error everytime i register a new user through checkout/register:
"unexpected token < in JSON at position 0
Warning: mail(); failed to connect to mail server etc.etc. etc. "
i dont know why the mail() error is showing up, because i didnt even touch the system/librayr/mail/mail.php...
does anyone know how to fix this? the two files i changed are checkout/register.twig and checkout/register.php, where i removed the address and telephone fields
here is a screenshot of the error message: https://ibb.co/khvzBR
the error happens when I register, so I fill in:
first name, last name, email, password & confirm password, check box privacy, click "register" and then the error pops up. but the user is succesfully registered, if i refresh the page, it will have created my account
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.
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester
First place to look is admin settings > mail tab, make sure there is nothing filled in the SMTP fields. Additionally, make sure the dropdown is set to "mail" and not SMTP. Make sure it doesnt get autofilled.
Chrome and other browsers often try to fill in autosaved login credentials to fields that arent necessarily a login field. I have had this happen to me many times with SMTP. All it takes is a click on a mail tab/section, even if you close it again. This is a true annoyance for many ecommerce/crm platforms
https://creadev.org | email@example.com - Opencart Extensions, Integrations, & Development. Made in the USA.
Users browsing this forum: No registered users and 19 guests