Lots of warning messages after clicking the confirm button
I am testing eCart 5 and have followed the user guide step by step.
Everything seems to work as expected until I click the confirm button on the confirm page.
That's when I get all these messages:
Warning: Division by zero in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 37
Warning: Division by zero in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 38
Warning: Division by zero in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 57
Warning: Division by zero in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 58
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 67
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 67
Warning: sleep() expects parameter 1 to be long, string given in /home3/paul5b5c/public_html/crowlane/webassist/email/mailformatting_php.php on line 348
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/webassist/email/mail_php.php on line 285
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/webassist/email/mail_php.php on line 285
Warning: Division by zero in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 76
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 97
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 97
Warning: Cannot modify header information - headers already sent by (output started at /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php:37) in /home3/paul5b5c/public_html/crowlane/customerCentre/confirm.php on line 344
Although the success page does not load, the database is updated and an email is received.
The only change I made from the user guide is to use db tables: customer_orderdetails and customer_orders instead of orderdetails and orders. (customer_orderdetails and customer_orders are exact copies of the originals).
Can anyone let me know what may be the problem/s and how to solve them.
Also, I really don't need all the columns in the customer_orders table, if I remove some and add a couple I do need, which files do I need to adjust?
Paul