Beginning PHP, Apache, MySQL® Web Development
Please check this !!!!
Notice: a seeion had already been started - ignoring session_start() in c:\inetpub\wwwroot\cms\cart.php on line 3.
the code line reads session_start(); on line 3 of the cart.php page.
2. Notice: use of undefined constant total - assumed 'total' in c:\inetpub\wwwroot\cms\cart.php on line 89.
the code line reads $total = $extprice + $total; on line 89 of the cart.php page.
secondly i also noticed the second problem on the checkout2.php page which reads
Notice: use of undefined constant total - assumed 'total' in c:\inetpub\wwwroot\cms\checkout2.php on line 274.
the code line reads $total = $extprice + $total; on line 274 of the cart.php page.
thirdly, i noticed that the final total is not often correct if you purchase large amount of goods for example i tried to purchase 300 CBA Coffee Mug which cost 8.95 each with extended price which is 2,685.00 and Small Grappling Hook which cost 139.95 each with extending price which is 2, 379.15 and noticed that the total before shipping is reading 4.00 and on the confirmation page its read thesame. i mean 4.00 which is not correct.
|