Cannot send session cache limiter - headers already sent
Getting this message:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/t/e/b/tebodeluxe/html/principe/confirm.php:2) in /home/content/t/e/b/tebodeluxe/html/principe/WA_eCart/WA_eCart_Definition_PHP.php on line 479
Here are lines 478 through 496:
function Session_GetContent() {
if (!session_id()) session_start();
$retArray = array();
if (isset($_SESSION[$this->CartName."_Items"]) && $_SESSION[$this->CartName."_Items"] != "") {
$theCartString = $_SESSION[$this->CartName."_Items"];
$theItemArray = explode("§",$theCartString);
for ($x=0; $x<sizeof($theItemArray); $x++) {
$theValueArray = explode("|WAECART|",$theItemArray[$x]);
$toExec = "new ".$this->CartName. "_ItemDefinition(";
for ($y=0; $y<sizeof($theValueArray); $y++) {
if ($y != 0) $toExec.=", ";
$toExec .= '"'.str_replace("\'","'",addslashes($theValueArray[$y])).'"';
}
eval("\$nextItem =".$toExec.");");
$retArray[sizeof($retArray)] = $nextItem;
}
}
return $retArray;
}