www.uburst.com www.uburst.com

"CGI problems"

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
 
"CGI problems"
Posted by corbett on Jun-22-02 at 02:39 PM (EST)
Hi (again).
I've been having problems all along (about 1 year) using ushop. It will not consistently send me (and the customer) copies of the order. Just last week, I discovered about $7K worth of lost orders. Very bad!
Anyway, I've upgraded to 3.5, hoping to get this fixed. Now I can't get the ushop.pl script to run. cgitest works fine, ushop will not run.

Please help. My site is www.cbt400.com. If you'll contact me privately, I'll give you the userids/passwords to get in and help me get this fixed. Please contact me (or call at 678-935-5006). I NEED to get this fixed FAST.

Thanks. If I need to pay someone to help, contact me and I'll be glad to. Ms. Edmunds helped me last time I had a problem...HELP!!!

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

Divide by Zero is ALWAYS a bug, ALW..., corbett, Jun-23-02, (1)
RE: Divide by Zero is ALWAYS a bug,..., Bill Weiner, Jun-24-02, (3)
RE: CGI problems, Bill Weiner, Jun-24-02, (2)
display_cart.html, corbett, Jun-24-02, (4)
RE: display_cart.html, Bill Weiner, Jun-24-02, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Divide by Zero is ALWAYS a bug, ALWAYS"
Posted by corbett on Jun-23-02 at 06:17 PM (EST)
This is from the CGI Error log...

06/23/02 16:20 "/cgi/ushop.pl", proc "/usr/local/bin/perl":
Illegal division by zero at /cgi/ushop.pl line 43.

Looks like my permissions are fine. This is a Unix server, the permissions are set to "read and write". Don't allow chmod.

divide by zero looks like a bug in the software.

I'm waiting.

Thanks.

Remove this Message: Administrator and Moderator onlyClick 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
 
3 . "RE: Divide by Zero is ALWAYS a bug, ALWAYS"
Posted by Bill Weiner on Jun-24-02 at 04:24 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
 
2 . "RE: CGI problems"
Posted by Bill Weiner on Jun-24-02 at 04:20 AM (EST)
Regardless of whether your email is working or not, you should get into the habit of using the uShop Order Reader to securely check and read the full details of any orders.

Anyway, you most likely have something configured incorrectly in the uShop CGI script. 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
 
4 . "display_cart.html"
Posted by corbett on Jun-24-02 at 08:01 AM (EST)
I've changed the ".pl" to ".cgi" for all my scripts. Now, the display_cart.html page is still referring to the "ushop.pl" script. How do I change this? This is a ushop-generated page.

From Christine:
renaming the scripts has worked for other customers of ours, I would recommend that you:

1) go ahead and rename all three of your ushop perl scripts to have a .cgi
extension
2) edit your ushop.cgi script to change the references to .pl script to be
.cgi. (in questions #4, #11, and #12)
3) change your order button applet(s) to reflect the new script name.

Remove this Message: Administrator and Moderator onlyClick 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
 
5 . "RE: display_cart.html"
Posted by Bill Weiner on Jun-24-02 at 09:00 PM (EST)
The URL of your uShop CGI script is specified via the "script_url" parameter of your uShopOrderButton applet.
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.