Tuesday, August 25, 2015

Open cart - SyntaxError: Unexpected token < OK

The page at xxxx.com says:

SyntaxError:Unexpected token< OK

Notice :Error:EHLO not accepted from server! in /opt/bitnami/apps/opencart/htdocs/system/library/mail.php on line 199

This happens if the SMTP Hostname = tls://smtp.gmail.com


This happens if the SMTP Hostname = ssl://smtp.gmail.com

The page at xxxxx.com says:

<head/><b>Warning</b>:fsockopen():
php_network_getaddresses:getaddrinfo failed: Name or service not known in <b>/opt/bitnami/apps/opencart/htdocs/system/library/mail.php</b> online <b>170</b><b>Warning</b>:fsockopen():unable to connect to ssl://smtp.gmail.com : 465 (php_network_getaddress: getaddrinfo failed: Name or service not known) in <b>/opt/bitnami/apps/opencart/htdocs/system/library/mail.php</b> online <b>170</b><b>Notice</b>:Error:php_network_getaddresses: getaddrinfo failed: Name or service not known (0) in <b>/opt/bitnami/apps/opencart/htdocs/system/library/mail.php</b> online<b>173</b>



Trying to fix the problem at the setting panel>>mail server didn't fix the problem



The solution could be done follow the prestashop settings: Prestashop

No comments:

Post a Comment

Adjustable DC to DC step up voltage booster using LM2577 -Adj P+ chip

One simple circuit to step up voltage using LM2577 -Adj P+ chip. The schematic is from Texas Instrument and it works expected - and below is...