Final throw of the dice - Warning: session_start()
I added error checking to the top of pp_confirm. This is now what I see:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/pem/vhosts/124431/webspace/httpdocs/thecocktailcompany.com/pp_confirm.php:4) in /usr/local/pem/vhosts/124431/webspace/httpdocs/thecocktailcompany.com/WA_eCart/WA_eCart_Definition_PHP.php on line 465
line 465 looks like this:
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;
Any ideas really welcome.
Thanks
Jon