Get an Error Message / Warning
I pasted the code of the last post above on the bottom of my pp_checkout_success page.
The code seems to work: The "order" session ist destroyed - meaning I can buy new stuff and get a new order id for that in the database. And the User ID is alive - the costumer (if purchased a digital download) is getting displayed the link to the Download Center where he can download his purchase.
BUT I get the following on the pp_checkout_success page:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\ ... \pp_checkout_success.php:186) in C:\xampp\htdocs\sonic-magic\A-SONICMAGIC\A_pages_E\pp_checkout_success.php on line 420
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in C:\xampp\htdocs\ ... \pp_checkout_success.php on line 421
On line 186 is this code:
<?php
//WA eCart Show If Start
if (!$eCart_en->IsEmpty()) {
?>
Is there anybody who can see the issue here?
Thank you!
Henrik