xwilsonx Posted October 5, 2005 Posted October 5, 2005 i get these 2 errors on top of the page: Warning: Division by zero in /home/gmistake/public_html/catalog/includes/classes/shipping.php on line 61 Warning: Division by zero in /home/gmistake/public_html/catalog/includes/classes/shipping.php on line 62 i believe those 2 lines are: $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); $shipping_weight = $shipping_weight/$shipping_num_boxes; whats up? the product i was trying to buy has an assigned weight, so i dont get it. The USPS shipping prices come up as all $0.00 in check out.
nipunjoshi Posted October 13, 2009 Posted October 13, 2009 i get these 2 errors on top of the page: Warning: Division by zero in /home/gmistake/public_html/catalog/includes/classes/shipping.php on line 61 Warning: Division by zero in /home/gmistake/public_html/catalog/includes/classes/shipping.php on line 62 i believe those 2 lines are: $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); $shipping_weight = $shipping_weight/$shipping_num_boxes; whats up? the product i was trying to buy has an assigned weight, so i dont get it. The USPS shipping prices come up as all $0.00 in check out. I GET THE SAME ERROR NOT SURE WHAT TO DO. NEW TO OSC AND TRYING TO GET USPS WORK. ALL IN PRODUCTION MODE
Guest Posted October 13, 2009 Posted October 13, 2009 Go to Admin -> Configuration -> Shipping/Packaging ->Enter the Maximum Package Weight you will ship Make sure that is NOT Zero.
nipunjoshi Posted October 25, 2009 Posted October 25, 2009 Go to Admin -> Configuration -> Shipping/Packaging ->Enter the Maximum Package Weight you will ship Make sure that is NOT Zero. it worked like a charm thank you bud 'java'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.