Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Plugin Contributions
    0

    Idea or Suggestion Divison by zero in

    When using the coupons ,I found the error :Warning: Division by zero in xxx.com/..../includes/modules/ot_total/ot_coupon line 364. This case occur when input the coupons code ,and click the button ,and come in the page of xxx.com/checkout_payment .the result of the local test is oK, I cannot see what happend ,Who can tell me ,Thanks!

  2. #2
    Join Date
    Sep 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Divison by zero in

    Quote Originally Posted by tianya View Post
    When using the coupons ,I found the error :Warning: Division by zero in xxx.com/..../includes/modules/ot_total/ot_coupon line 364. This case occur when input the coupons code ,and click the button ,and come in the page of xxx.com/checkout_payment .the result of the local test is oK, I cannot see what happend ,Who can tell me ,Thanks!

    Come on baby , I believe you can do the job

  3. #3
    Join Date
    Sep 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Divison by zero in

    Quote Originally Posted by tianya View Post
    When using the coupons ,I found the error :Warning: Division by zero in xxx.com/..../includes/modules/ot_total/ot_coupon line 364. This case occur when input the coupons code ,and click the button ,and come in the page of xxx.com/checkout_payment .the result of the local test is oK, I cannot see what happend ,Who can tell me ,Thanks!
    This problem has occured many times , maybe is the error of logics

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

    Default Re: Divison by zero in

    Could you post lines 360 - 368 of your file on the server for:
    /includes/modules/order_total/ot_coupon.php
    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!

 

 

Similar Threads

  1. PDF Order Center - warning: Divison by zero
    By navido in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 5 Sep 2009, 10:14 PM
  2. adding another divison around column product listing
    By bjraines in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 May 2007, 02:48 AM
  3. Zero Qty
    By jwashburn in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 11 Oct 2006, 09:50 PM

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