Everything renders, but I have this warning below the footer on the checkout_success page:
Warning: Cannot modify header information - headers already sent by (output started at /home/davcow9/InnerchoicePublishing.com/checkout_success.php:192) in /home/davcow9/InnerchoicePublishing.com/checkout_success.php on line 273
Line 273 is noted below in the additional code we added to get the cart page to empty:
<?php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!
session_start();
One other thing, the email receipt is not generating as it was before.
// Unset all of the session variables.
$_SESSION = array();
// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
// This is line 273 );
}
// Finally, destroy the session.
session_destroy();
?>