Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout problem


UncleSteve

Recommended Posts

Posted

Just wondering if anyone has experienced this problem with the checkout. Everything goes fine on the checkout, then on the very last page before being returned to the front page, I get the error message below.

 

The order conformation emails go out as normal.

 

https://www.mystore.com/catalog/checkout_process.php

Warning: Missing argument 7 for tep_mail() in /home/smithy/public_html/catalog/includes/functions/general.php on line 1014

 

Warning: Missing argument 7 for tep_mail() in /home/smithy/public_html/catalog/includes/functions/general.php on line 1014

 

Warning: Missing argument 7 for tep_mail() in /home/smithy/public_html/catalog/includes/functions/general.php on line 1014

 

Warning: Cannot modify header information - headers already sent by (output started at /home/smithy/public_html/catalog/includes/functions/general.php:1014) in /home/smithy/public_html/catalog/includes/functions/general.php on line 33

 

Line 1014 has this

  function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address, $Xipaddress) {

Line 33 has this

	header('Location: ' . $url);

 

The checkout has been fine, until this morning.

 

Any help, comments etc will be appreciated :)

 

Thanks in advance :)

____________________________________________________________________

____________________________________________________________________

Posted
Take a look at this.

 

Jack

Hi Jack,

 

Thanks for the lead.

 

I've checked my files for white space, but none found.

 

From an old post, they removed this $from_email_address from the following line

 function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address, $Xipaddress) {

I've done the same, and found no errors are displayed :) However the customers order conformation email and the vendors order email has no returm email address (it gives the store name, but no actual email address). At a push, I could run with this, but would like to get it sorted.

 

Hopefully my findings will prompt some additional information from someone please?

 

Thanks :)

____________________________________________________________________

____________________________________________________________________

  • 2 years later...
Posted
Hi Jack,

 

Thanks for the lead.

 

I've checked my files for white space, but none found.

 

From an old post, they removed this $from_email_address from the following line

 function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address, $Xipaddress) {

I've done the same, and found no errors are displayed :) However the customers order conformation email and the vendors order email has no returm email address (it gives the store name, but no actual email address). At a push, I could run with this, but would like to get it sorted.

 

Hopefully my findings will prompt some additional information from someone please?

 

Thanks :)

 

 

 

I got same problem, once I remove "$from_email_address" juz like u did, then no errors.

 

Anyone know how to fix this but without removing "$from_email_address"?

 

Thx

  • 4 months later...
Posted

Hi,

 

function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address) {

 

 

I had problem, I removed "$Xipaddress" and then no errors.

 

good luck

Archived

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

×
×
  • Create New...