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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Undefined index: WAVT_confirmcart_Errors in

Thread began 1/07/2015 7:31 pm by rgolfer | Last modified 1/09/2015 4:07 pm by rgolfer | 818 views | 9 replies |

rgolfer

Undefined index: WAVT_confirmcart_Errors in

Hi Jason,
I'm having an error message when I go through the checkout procedure.

The full error is ...
Notice: Undefined index: WAVT_confirmcart_Errors in C:\wamp\www\toyo_dev\Tdisplay\Tconfirm_cart.php on line 196

This is the code in that page ...
<?php if ((isset($_POST["CheckoutWizard_submit"]) || isset($_POST["CheckoutWizard_submit_x"])) && $_SESSION['WAVT_confirmcart_Errors']=="" && !isset($_POST["forShipping"])) { ?>

I was first getting an error stating cannot find /webassist/framework/ajax_wrapper.php

I found the file from another site I built and added this file in. It got me a little farther but now this message comes up. (see error_cart.jpg)

Funny thing is I can hit the "submit" button and it posts the order. It does not however allow an email to be sent.

Any ideas on this one?

Sign in to reply to this post

Jason ByrnesWebAssist

try changing that code to:
<?php if ((isset($_POST["CheckoutWizard_submit"]) || isset($_POST["CheckoutWizard_submit_x"])) && $_SESSION['WAVT_Tconfirmcart_Errors']=="" && !isset($_POST["forShipping"])) { ?>

yes, that code would go in the wauve_Tconfirm_1.php page.


the format for setting a cc and BCC address is not the same however.

for a CC address, it is no longer:
$CCVal ="name@domain.com";

it is now:
$WA_MailObject = WAUE_AddCC($WA_MailObject,"name@domain.com");


for a BCC address:
$WA_MailObject = WAUE_AddBCC($WA_MailObject,"name@domain.com");

so you will need to edit your code accordingly.

Sign in to reply to this post

rgolfer

Thanks, it works now but I'm not getting the emails to go through. I'll have to double check my email settings to make sure I haven't changed something.

I'll make sure I get that working first before attempting the re-direction by location.

Sign in to reply to this post

rgolfer

Still can't get email to work

Hi Jason,

I verified all email settings were correct and verified that the double opt in registration is working properly with emails etc.

But the problem is with cart email. The orders are going through OK and everything is posting to the database. There are no payment options, shipping or even taxes, This gets done at another level. Only thing that is missing is the email verification. This is not going to the customer or to the CC emails. Is there a name issue again like above, or something else? I've checked with the service provider (out IT dept) and they say everything should be working.
Hoping you could help me through this last part?
Any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, the store order details behavior is set to redirect to the success page.

this happens before the email can be sent.

change line 93:
$WA_redirectURL = "Tcheckout_success.php";

to:
$WA_redirectURL = "";

Sign in to reply to this post

rgolfer

That did it Jason. Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

rgolfer

Hi Jason,

Could you do a quick check on the redirection of the emails going to different provinces? I have made the changes and the email goes to the customer but not the CCd staff.

Please see PM

Sign in to reply to this post

Jason ByrnesWebAssist

where this is custom coding, you should sign up for a premiere support appointment for help with this:
http://www.webassist.com/premier_request.php

Sign in to reply to this post

rgolfer

I guess it does fall outside of the norm doesn't it. I forgot we went through that process last time. Thanks for your help.

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...