Author corbett on 06-22-2002 at 14:39 (EST)
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!!!
|Messages In This Discussion|
| 1. Divide by Zero is ALWAYS a bug, ALWAYS|
Author corbett on 06-23-2002 at 18:17 (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.
| 3. RE: Divide by Zero is ALWAYS a bug, ALWAYS|
Author Bill Weiner on 06-24-2002 at 04:24 (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";
$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.
| 2. RE: CGI problems|
Author Bill Weiner on 06-24-2002 at 04:20 (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.
| 4. display_cart.html|
Author corbett on 06-24-2002 at 08:01 (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.|
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
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.
| 5. RE: display_cart.html|
Author Bill Weiner on 06-24-2002 at 21:00 (EST)
|The URL of your uShop CGI script is specified via the "script_url" parameter of your uShopOrderButton applet.