Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Location
    UK
    Posts
    66
    Plugin Contributions
    0

    help question Division by zero error message.

    Hi I am getting these 2 error messages....

    Warning: Division by zero in /home/iwacbiz/public_html/watches/includes/classes/shipping.php on line 94

    Warning: Division by zero in /home/iwacbiz/public_html/watches/includes/classes/shipping.php on line 95

    This displays at the top of the page above the header logo on the first page of the checkout process.

    I have already checked in the Maximum values in admin and all is ok there. I have also made sure i set up the shipping under configuration in admin, and all is ok there.

    I am using v1.3.7

    Can anyone help?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Division by zero error message.

    Check in the Configuration ... Shipping/Packaging ... as to what you have set the Maximum weight of a package to ... looks like something is set to 0 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2007
    Location
    UK
    Posts
    66
    Plugin Contributions
    0

    Default Re: Division by zero error message.

    Thanks.

    I managed to sort that problem out now.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Division by zero error message.

    Moderator note: Moving this out of "bug reports".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Division by Zero error
    By sinecurea in forum General Questions
    Replies: 4
    Last Post: 11 Sep 2007, 05:23 PM
  2. Error : Division by zero.....
    By artisticleaf in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 10 Sep 2007, 08:03 PM
  3. Division by zero error
    By simetra in forum General Questions
    Replies: 2
    Last Post: 6 Jul 2007, 08:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg