Sakshin Posted June 8, 2005 Share Posted June 8, 2005 Warning: Division by zero in /home/green3n/public_html/oscommerce/includes/classes/shipping.php on line 61 Warning: Division by zero in /home/green3n/public_html/oscommerce/includes/classes/shipping.php on line 62 The code looks like this; 58 } 59 60 if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes 61 $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); 62 $shipping_weight = $shipping_weight/$shipping_num_boxes; 63 } 64 65 $include_quotes = array(); i have no clue what it means Please reply; Sakshin Link to comment Share on other sites More sharing options...
Guest Posted June 8, 2005 Share Posted June 8, 2005 what did you change in this code? i would replace with original and see what happens. Link to comment Share on other sites More sharing options...
241 Posted June 8, 2005 Share Posted June 8, 2005 This may be due to your settings in the admin for Shipping/Packaging what do you have as settings in the admin under configuration and Shipping/Packaging for the following: Enter the Maximum Package Weight you will ship 50 Package Tare weight. 3 Larger packages - percentage increase. 10 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.