[Done 1.3.8a] Could Not Connect to SMTP Host - 1.3.8 -includes/classes/class.smtp.php
There's a small coding typo (but still a show stopper) in includes/classes/class.smtp.php
After messing around with error reporting, I got this error:
Fatal error: Unsupported operand types in /home/pasi/public_html/koodaus/zencart/shop/includes/classes/class.smtp.php on line 118
The file reads the following in line 118:
Quote:
//Added for Gmail support CER
if($this-Protocol != '') $host = $this->Protocol . "://" . $host;
As you can see... the $this-Protocol part misses a > ... adding it made it work
Re: includes/classes/class.smtp.php typo
:oops:
Yes, that would be a bug ...
Thanks for the details.
To clarify, the fix is this:
/includes/classes/class.smtp.php on line 118
Add the > as shown:
Code:
//Added for Gmail support CER
if($this->Protocol != '') $host = $this->Protocol . "://" . $host;
NOTE: This issue is fixed in v1.3.8a ... announced here: http://www.zen-cart.com/forum/showth...780#post473780
.
Re: Could Not Connect to SMTP Host - v1.3.8 - includes/classes/class.smtp.php typo
Umm... didn't help for me.
Switched to PHP instead of SMTP in email settings and the problem appears solved. Emails send faster too.
:clap: