Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error on check out - "Division By Zero..."


xodus

Recommended Posts

Hi, If someone trys to check out on my website, they can get to only step one (Delivery Information) Then when they hit continue, It gives them a error that says:

 

Warning: Division by zero in /home/xodus/public_html/catalog/includes/classes/shipping.php on line 61

 

Warning: Division by zero in /home/xodus/public_html/catalog/includes/classes/shipping.php on line 62

 

Warning: Cannot modify header information - headers already sent by (output started at /home/xodus/public_html/catalog/includes/classes/shipping.php:61) in /home/xodus/public_html/catalog/includes/functions/general.php on line 29

 

Any help would be greatly appreciated. Thank You - Dean

Link to comment
Share on other sites

have you set up the zones and taxes?

 

check for whitespace in catalog/includes/classes/shipping.php

 

download the file open it place your cursor after the last ?> and press delete several times to eliminate any extra lines or whitespace, then save the file and upload it.

 

Do not use the online file manager as this can cause the whitespace.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...