change line 1 -10:
<?php
error_reporting(E_ALL);
ini_set('display_errors');
?>
<?php
//WA eCart Include
require_once("WA_eCart/OnlineStore_PHP.php");
?>
<?php
to:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php
//WA eCart Include
require_once("WA_eCart/OnlineStore_PHP.php");
?>
<?php
also you're if statements are causing errors,
for example:
$page=page12;
if($page==page7)
{
is not valid code, it should be:
$page="page12";
if($page=="page7")
{
values and string comparisons must enclosed in quotes, you have a number of if statement like this that are causing errors.