mariavargas Posted August 31, 2006 Share Posted August 31, 2006 Everything is going so well!! Then, I get this error when I try to checkout after adding product to cart. what do I need to do to solve this? I'm using MS2. :blush: Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 61 Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 62 THANKS! :-" Link to comment Share on other sites More sharing options...
thesiege84 Posted August 31, 2006 Share Posted August 31, 2006 Everything is going so well!! Then, I get this error when I try to checkout after adding product to cart.what do I need to do to solve this? I'm using MS2. :blush: Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 61 Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 62 THANKS! :-" Please paste line 61 and line 62 of the following file: in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Never mind! Figured it out! For whomever this may happen to: i went into th file and went to line 61 & 62 and saw that is was referring to: 61) $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); 62) $shipping_weight = $shipping_weight/$shipping_num_boxes; So went into the admin and added a max pkg. weight I will ship. and a number for the percentage in larger package increase. I had the word NONE, since I charge by item, but i put 0 (zero) in its place and it solved it! Cooooool... :lol: Love all of you! MV Everything is going so well!! Then, I get this error when I try to checkout after adding product to cart.what do I need to do to solve this? I'm using MS2. :blush: Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 61 Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 62 THANKS! :-" Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Never mind! Figured it out! For whomever this may happen to: i went into th file and went to line 61 & 62 and saw that is was referring to: 61) $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); 62) $shipping_weight = $shipping_weight/$shipping_num_boxes; So went into the admin and added a max pkg. weight I will ship. and a number for the percentage in larger package increase. I had the word NONE, since I charge by item, but i put 0 (zero) in its place and it solved it! Cooooool... :lol: Love all of you! MV Everything is going so well!! Then, I get this error when I try to checkout after adding product to cart.what do I need to do to solve this? I'm using MS2. :blush: Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 61 Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 62 THANKS! :-" Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Never mind! Figured it out! For whomever this may happen to: i went into th file and went to line 61 & 62 and saw that is was referring to: 61) $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); 62) $shipping_weight = $shipping_weight/$shipping_num_boxes; So went into the admin and added a max pkg. weight I will ship. and a number for the percentage in larger package increase. I had the word NONE, since I charge by item, but i put 0 (zero) in its place and it solved it! Cooooool... :lol: Love all of you! MV Everything is going so well!! Then, I get this error when I try to checkout after adding product to cart.what do I need to do to solve this? I'm using MS2. :blush: Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 61 Warning: Division by zero in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php on line 62 THANKS! :-" Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Hi David, Thanks for your speedy reply! I figured that one out, but this one has me stumped. Would you happen to know the answer to this situation, or can point me in the right direction?? I've been going crazy! Can't seem to separate Category Heading Image from Sub-Category heading Image. Eveytime I set an image for the sub-category heading, it replaces the image I used for the category! :'( In other words, I would like to have a separate heading image for each category, sub-category and sub-sub category: 1. Category: Kitchen Suites (image #1) a) Sub-category: Sinks (image #2) Sub-sub-category: i.)Single-Well (image #3) ii.) Double- Well (image #4) It keeps carrying over the heading image I place for the sub headings and replacing the original image heading in #1!!!! >_< Is this possible? How can I do that???? :thumbsup: Thanks so much! Please paste line 61 and line 62 of the following file:in /usr/local/psa/home/vhosts/copperexperts.com/httpsdocs/PCA/CATALOG/includes/classes/shipping.php Link to comment Share on other sites More sharing options...
thesiege84 Posted August 31, 2006 Share Posted August 31, 2006 Hi David, Thanks for your speedy reply! I figured that one out, but this one has me stumped. Would you happen to know the answer to this situation, or can point me in the right direction?? I've been going crazy! Can't seem to separate Category Heading Image from Sub-Category heading Image. Eveytime I set an image for the sub-category heading, it replaces the image I used for the category! :'( In other words, I would like to have a separate heading image for each category, sub-category and sub-sub category: 1. Category: Kitchen Suites (image #1) a) Sub-category: Sinks (image #2) Sub-sub-category: i.)Single-Well (image #3) ii.) Double- Well (image #4) It keeps carrying over the heading image I place for the sub headings and replacing the original image heading in #1!!!! >_< Is this possible? How can I do that???? :thumbsup: Thanks so much! To be honest, not sure what you mean. can you post a few urls so i can see it visually? Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Sure. Site is still not finished, but am working on the Kitchen Suites Category right now. If you go here: https://copperexperts.com/PCA/CATALOG/index.php?cPath=22 (or maybe just the root path and then click Kitchen Suites to get there) You'll see: 1) Image that says: Kitchen Suites on far right. 2) then 3 images, one for each for Sinks, Counter Tops and Range Hoods Here's my issue: When you click on the Sinks image or link I want to have the same type image that says Kitchen Suites, to say Kitchen Sinks. Instead, it takes that image (above the word Sinks) and uses it as the far right title. Is there anyway I can separate them, so I can make the right hand titles say what category it is? :thumbsup: Thanks sooooo much! :D To be honest, not sure what you mean. can you post a few urls so i can see it visually? Link to comment Share on other sites More sharing options...
thesiege84 Posted August 31, 2006 Share Posted August 31, 2006 Sure. Site is still not finished, but am working on the Kitchen Suites Category right now.If you go here: https://copperexperts.com/PCA/CATALOG/index.php?cPath=22 (or maybe just the root path and then click Kitchen Suites to get there) You'll see: 1) Image that says: Kitchen Suites on far right. 2) then 3 images, one for each for Sinks, Counter Tops and Range Hoods Here's my issue: When you click on the Sinks image or link I want to have the same type image that says Kitchen Suites, to say Kitchen Sinks. Instead, it takes that image (above the word Sinks) and uses it as the far right title. Is there anyway I can separate them, so I can make the right hand titles say what category it is? :thumbsup: Thanks sooooo much! :D Ah, i see your problem. Sorry mate i'm not sure how you do that. However check on www.hirealancer.com and get a freelancer to do it. Should be a quick $10 project. Or wait for another reply on this Link to comment Share on other sites More sharing options...
mariavargas Posted August 31, 2006 Author Share Posted August 31, 2006 Alrighty then.... :) I guess I'm being a bit picky... but that's for the reference, will do! Take care, :D MV Ah, i see your problem. Sorry mate i'm not sure how you do that. However check on www.hirealancer.com and get a freelancer to do it. Should be a quick $10 project. Or wait for another reply on this Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.