uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Divide by zero is ALWAYS a bug

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Dec-15-17 08:55 AM EST
Original Message
Divide by zero is ALWAYS a bug
Author corbett on 06-23-2002 at 18:23 (EST)
Me again,
I'm an application programmer... Divide by zero error is ALWAYS a bug. No exceptions, ALWAYS.

06/23/02 16:20 "/cgi/ushop.pl", proc "/usr/local/bin/perl":
Illegal division by zero at /cgi/ushop.pl line 43.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Divide by zero is ALWAYS a bug Bill Weiner, 2002-06-24 04:25:17 (1)

Messages In This Discussion
         1. RE: Divide by zero is ALWAYS a bug
        Author Bill Weiner on 06-24-2002 at 04:25 (EST)
An error message such as:

"Illegal division by zero at /cgi/ushop.pl line 43"

...is an indication that you have something configured incorrectly in the uShop CGI script.

Line 43 in the uShop CGI script is just the line where you specify the path to sendmail. (Configuration Question #8) So make sure you have that configuration question properly enclosed in double-quotes, such as:

$sendmail_path = "/usr/lib/sendmail";

NOT

$sendmail_path = /usr/lib/sendmail;

And if that doesn't resolve the problem, generate a diagnostic report from the uShop Control Panel and send it to us with a support request and we'll look at your settings.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.