close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Confirmation Email Errors

Thread began 4/11/2013 6:13 pm by Lee Firth | Last modified 2/21/2014 12:12 pm by Jason Byrnes | 830 views | 10 replies |

Lee Firth

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);
}

Sign in to reply to this post

Jason ByrnesWebAssist

delete the webassist/email/mail_php.php and mailformating.php files from your site. Goto the server behaviors panel and double click the UE server behavior to edit it, then click the ok button to have those files regenerated. make sure to upload the new versions of those files to the server.

Sign in to reply to this post

Lee Firth

That replaced the original errors with these:

Notice: Undefined index: waue_confirm_1_Error in /Users/Lee/Dropbox/www/auskut/webassist/email/mail_php.php on line 295

Warning: Cannot modify header information - headers already sent by (output started at /Users/Lee/Dropbox/www/auskut/webassist/email/mail_php.php:295) in /Users/Lee/Dropbox/www/auskut/confirm.php on line 447

Sign in to reply to this post

Jason ByrnesWebAssist

I'll have to look at the page on the server to troubleshoot

Sign in to reply to this post

Lee Firth

This website is not live yet, it only exists on my local server. Can you give me a list of the files required and I will send them to you?

Sign in to reply to this post

Jason ByrnesWebAssist

i would nee the confirm.php page and the webassist/email folder, when attaching the zip file, you can select the option for the attachments to be private.

Sign in to reply to this post

Lee Firth

Files have been sent privately.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

edit line 295 of mail_php.php:

php:
$GLOBALS[$mailRef."_Log"] .=  $GLOBALS[$mailRef."_Error"]. " - Failure <br>\n";



to:

php:
$GLOBALS[$mailRef."_Log"] .=  (isset($GLOBALS[$mailRef."_Error"])?$GLOBALS[$mailRef."_Error"]:""). " - Failure <br>\n";
Sign in to reply to this post

Lee Firth

That fixed it thanks Jason.

Sign in to reply to this post

CraigRBeta Tester

I had this problem too.

Deleting the files and regenerating them, as outlined in post #2 fixed the issue for me

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...