Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email confirmation of purchase, error


Liamy

Recommended Posts

I'm still setting up and have nearly got there. Email seems to be working ok, Emails from admin go out ok, forgotten passwords work fine and the welcome to new registrants works fine also. The one problem is the final purchase. (I use the COD for testing and that is set to true in Modules). I get the error message

 

Warning: fsockopen(): unable to connect to :25 in E:\USERS\xxxxxxxx\www\Catalog\mailconfig\class.smtp.inc on line 87 Warning: Cannot modify header information - headers already sent by (output started at E:\USERS\xxxxxxxx\www\Catalog\mailconfig\class.smtp.inc:87) in E:\USERS\xxxxxxxx\www\Catalog\includes\functions\general.php on line 33

 

These are the lines:

(line 87) $this->connection = fsockopen($this->host, $this->port, $errno, $errstr, $this->timeout);

 

(line 33) header('Location: ' . $url);

 

I checked with the Knowledge Base and all I could find was to close any whitespace before and after the php coding ... but that seems fine.

As a php dunce, I'd appreciate any help,

Liam

Link to comment
Share on other sites

I'm still setting up and have nearly got there. Email seems to be working ok, Emails from admin go out ok, forgotten passwords work fine and the welcome to new registrants works fine also. The one problem is the final purchase. (I use the COD for testing and that is set to true in Modules). I get the error message

 

Warning: fsockopen(): unable to connect to :25 in E:\USERS\xxxxxxxx\www\Catalog\mailconfig\class.smtp.inc on line 87 Warning: Cannot modify header information - headers already sent by (output started at E:\USERS\xxxxxxxx\www\Catalog\mailconfig\class.smtp.inc:87) in E:\USERS\xxxxxxxx\www\Catalog\includes\functions\general.php on line 33

 

These are the lines:

(line 87) $this->connection = fsockopen($this->host, $this->port, $errno, $errstr, $this->timeout);

 

(line 33) header('Location: ' . $url);

 

I checked with the Knowledge Base and all I could find was to close any whitespace before and after the php coding ... but that seems fine.

As a php dunce, I'd appreciate any help,

Liam

I should add that the order confirmation Email goes out to the customer ok despite the error message. Does anyone know how I can get rid of it?

Liam

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...