confused by ecart error on checkout
Hi, I was just going through the pages on my website. I had logged in as an admin. (this test was after just logining in (so not adding anything to cart so thats empty).
if I were to go to the checkout page (which gives me access once logged in) I get the following error message at the top of my site:
Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d402258082/htdocs/projects/dinky/checkout.php:80) in /homepages/28/d402258082/htdocs/projects/dinky/checkout.php on line 101
I checked onthe checkout.php file and the line in question relates to:
<?php
// WA eCart Redirect
if ($DinkyCart->redirStr != "") {
header("Location: ".$DinkyCart->redirStr);
}
?>
I just wanted an understanding of this error message so that I can fix it - as obviously dont want customers to see error messages like this if they were to login and snoop to the checkout page without ordering anything to the cart.
kind regards
Chris