Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Error after checkout


Recommended Posts

I'm getting an error when I go to checkout.


Warning: Failed to Receive in c:apachehtdocscatalogincludesclassesemail.php on line 500


Warning: Cannot add header information - headers already sent by (output started at c:apachehtdocscatalogincludesclassesemail.php:500) in c:apachehtdocscatalogincludesfunctionsgeneral.php on line 29


Line 499-503 of email.php

if (EMAIL_TRANSPORT == 'smtp') {

       return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));

     } else {

       return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));



Line 29 in general.php

header('Location: ' . $url);


But the order contines on and I can get the invoice through the admin section. So, does this mean the confirmation e-mail and/or the thank you screen isn't being sent? Or is there something that I missed in my configuration? Any help is appreciated. Thanks.

Link to comment
Share on other sites


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

  • Create New...