PDA

View Full Version : Order confirmation pp_confirm warning


jdoane282989
04-25-2009, 11:21 AM
I'm using Paypal Website Payments Pro with eCart4 and have a couple of issues:

On ordering, using the "Checkout with PayPay" button, everything works fine until the pp_confirm page comes up and give an ugly error message at the top of browser window as follows:

Warning: Missing argument 6 for WAUE_Definition(), called in /home/mtdeligh/public_html/simplegiftsnh/WA_Universal_Email/WAUE_pp_confirm_3.php on line 15 and defined in /home/mtdeligh/public_html/simplegiftsnh/WA_Universal_Email/mail_PHP.php on line 69
?>
Warning: Cannot modify header information - headers already sent by (output started at /home/mtdeligh/public_html/simplegiftsnh/WA_Universal_Email/mail_PHP.php:69) in /home/mtdeligh/public_html/simplegiftsnh/pp_confirm.php on line 555

I have checked line 15 on the pp_confirm_3.php and don't see a problem although I don't see 6 arguments in the code:
line 15: $WA_MailObject = WAUE_Definition("mail.simplegiftsnh.com","26","orders@simplegiftsnh.com","","");

The confirmation email gets sent anyway, although the email is not showing the edits that I have made and uploaded.

Can you help? Thanks!

Ray Borduin
04-27-2009, 09:04 AM
The error says "missing argument"...

so if you have code: $WA_MailObject = WAUE_Definition("mail.simplegiftsnh.com","26","ord ers@simplegiftsnh.com","","");

try using: $WA_MailObject = WAUE_Definition("mail.simplegiftsnh.com","26","ord ers@simplegiftsnh.com","","","");

I'm not sure why there is a missing argument, but adding one might fix the error.

jdoane282989
04-29-2009, 01:41 PM
Thanks Ray!

Adding an extra argument seems to have fixed the problem. Now if I could just get the thumbnail picture to show up on the email receipt.

I've read other posts about this and tried adding the full path. Could you be more specific about which file I need to change. My path is http://www.simplegiftsnh.com/images/thumbs/

Thanks for your help.

John

Ray Borduin
04-29-2009, 02:23 PM
If the path is correct, the image will work. Look at what is wrong with the path and update it, I can't tell by your post alone what might not be working.

jdoane282989
05-02-2009, 01:45 PM
I'm making progress...

Thanks for the help, Ray!