Warning: Cannot modify header information
On testing the eCart with PayPal Payments Pro gateway, using credit card option I get this message on the confirm.php page:
Warning: Cannot modify header information - headers already sent by (output started at
/home/mtdeligh/public_html/simplegiftsnh/confirm.php:513) in /home/mtdeligh/public_html/simplegiftsnh/confirm.php on line 516
Line 513-516 of confirm.php
<?php
// WA eCart Redirect
if ($simpleGifts->redirStr != "") {
header("Location: ".$simpleGifts->redirStr);
}
The email confirmation is sent but the confirm page comes back again and when you confirm again it orders the same thing again! Also the cart never clears. Thanks for the help in advance.
John