Confirmation Email Errors
I have just added an email to the confirmation page to email the order details to the customer. When I click the "checkout" button (the trigger to send the email) I get the following error messages:
Notice: Undefined index: waue_confirm_1_Status in /Users/Lee/Dropbox/www/auskut/confirm.php on line 324
Notice: Undefined index: waue_confirm_1_Index in /Users/Lee/Dropbox/www/auskut/confirm.php on line 325
Notice: Undefined index: waue_confirm_1_From in /Users/Lee/Dropbox/www/auskut/confirm.php on line 326
Notice: Undefined index: waue_confirm_1_To in /Users/Lee/Dropbox/www/auskut/confirm.php on line 327
Notice: Undefined index: waue_confirm_1_Subject in /Users/Lee/Dropbox/www/auskut/confirm.php on line 328
Notice: Undefined index: waue_confirm_1_Body in /Users/Lee/Dropbox/www/auskut/confirm.php on line 329
Notice: Undefined index: waue_confirm_1_Header in /Users/Lee/Dropbox/www/auskut/confirm.php on line 330
Notice: Undefined index: waue_confirm_1_Log in /Users/Lee/Dropbox/www/auskut/confirm.php on line 331
Warning: Cannot modify header information - headers already sent by (output started at /Users/Lee/Dropbox/www/auskut/confirm.php:324) in /Users/Lee/Dropbox/www/auskut/confirm.php on line 334
These are lines 324 - 335 in confirm.php
$_SESSION[$EmailRef."_Status"] = $GLOBALS[$EmailRef."_Status"];
$_SESSION[$EmailRef."_Index"] = $GLOBALS[$EmailRef."_Index"];
$_SESSION[$EmailRef."_From"] = $GLOBALS[$EmailRef."_From"];
$_SESSION[$EmailRef."_To"] = $GLOBALS[$EmailRef."_To"];
$_SESSION[$EmailRef."_Subject"] = $GLOBALS[$EmailRef."_Subject"];
$_SESSION[$EmailRef."_Body"] = $GLOBALS[$EmailRef."_Body"];
$_SESSION[$EmailRef."_Header"] = $GLOBALS[$EmailRef."_Header"];
$_SESSION[$EmailRef."_Log"] = $GLOBALS[$EmailRef."_Log"];
if (function_exists("rel2abs")) $GoToPage = $GoToPage?rel2abs($GoToPage,dirname(__FILE__)):"";
if ($GoToPage!="") {
header("Location: ".$GoToPage);
}