www.uburst.com www.uburst.com

"Divide by zero is ALWAYS a bug"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Divide by zero is ALWAYS a bug"
Posted by corbett on Jun-23-02 at 06:23 PM (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.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Divide by zero is ALWAYS a bug, Bill Weiner, Jun-24-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Divide by zero is ALWAYS a bug"
Posted by Bill Weiner on Jun-24-02 at 04:25 AM (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.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.