Post by monikvivek » Wed Dec 12, 2018 6:37 pm

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data


<br />
<b>Fatal error</b>: Uncaught exception 'Exception' with message 'Error: EHLO not accepted from server!' in /home/sites/4a/8/88aab10a02/public_html/
Stack trace:
#0 /home/sites/4a/8/88aab10a02/public_html/ Mail\Smtp-&gt;send()
#1 /home/sites/4a/8/88aab10a02/public_html/ Mail-&gt;send()
#2 /home/sites/4a/8/88aab10a02/public_html/ ControllerMailOrder-&gt;add(Array, '1', '', '')
#3 [internal function]: ControllerMailOrder-&gt;index('checkout/order/...', Array)
#4 /home/sites/4a/8/88aab10a02/public_html/ call_user_func_array(Array, Array)
#5 /home/sites/4a/8/88aab10a02/public_html/ Action-&gt;execute(Object(Registry), Array)
#6 /home/sites/4a/8/88aab10a02/public_html/ Event-&gt;trigger('model/checkout/...', in <b>/home/sites/4a/8/



Wed Dec 12, 2018 6:35 pm

Post by OSWorX » Wed Dec 12, 2018 7:10 pm

As the message says: the EHLO command is not accepted by the called server.
Maybe your SMTP settings are not correct, or the called server has some issues.

Beside this: please read first the forum rules!

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image

User avatar
Guru Member


Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by erikgrueter » Wed Jul 31, 2019 9:24 am

This error occurs when the email server configuration is wrong or incomplete or the server is down.

First, check the SMTP Hostname, if your server use TLS or SSL, you will should type the hostname like this:

tls://[your SMTP Hostname] or ssl://[yout SMTP hostname]

Before, I used a SMTP hostname without tls:// or ssl:// at begin of the address, but now, my server dont accept no connection without the protocol at hostname.

To resolve the server connection down trouble I created an isolated controller to set order status, so, the order never will be lost.

If you call the "addOrderHistory" method twice, at the second time the error will not appear and the order will be writing, and so, you can create a log file reporting the error or notify the store admin by another way.
If the problem remains unresolved,try this :



Thu Jul 25, 2019 3:55 pm
Who is online

Users browsing this forum: No registered users and 8 guests