www.uburst.com www.uburst.com

"Orders not Processing"

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
 
"Orders not Processing"
Posted by Stiles on Jan-01-00 at 09:19 PM (EST)
Hi, Mr. Edmunds.

Here's the deal:

I have my ushop_cgiscript.pl line#10 set to: $order_directory ="./orders/"; and using Netscape and Unix, with the "orders" directory chmod 733'd and the test on my script.pl works as I dial it up on my secure server I get the copywright page securely. When I send a fake order to test it, it works 1 time and then will not duplicate. I have re-uploaded the files, re-chmoded them, classes are in the right directory with the codebase used, and it works 1 time again and will not duplicate when I go right back and order another new item and even when I change to IE 5.0. All works fine and adds up, but I get the Error: unable to open ./orders/U...... I did get the order in my "orders" directory so it must be all set and I got the store owner email and customer email, then not duplicateable. Any Ideas?

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

orders, charlie edmunds, Jan-02-00, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "orders"
Posted by charlie edmunds on Jan-02-00 at 08:39 AM (EST)
Have you gone through the troubleshooting information off of our reference site? You may have to use a the full path of your 'orders' directory (instead of a relative reference). Go through this information and see if it helps.

Charlie Edmunds

1.6 Unable to open ./orders/.... Error (UNIX Server)

If upon trying to place an order you get an "Unable to open ./orders/U123456789" error, it means that the CGI script cannot create the unique order file. That is, the uShop CGI script will try to write an order file to the "orders" directory each time an order is placed. Therefore, the "Unable to open orders..." error is usually caused by one of two things:

The "orders" directory does not have "WRITE" and "EXECUTE" permissions.


The $order_directory setting is incorrect.

Here are a few things to try to correct error:


Check to make sure that you created the "orders" directory. If you used the CGI setup wizard to generate a CGI script for you, then this "orders" directory should be a subdirectory of your CGI directory.

NOTE: The location of this directory is specified by the $order_directory parameter in the CGI script, so you can make the orders directory whereever you want provided the $order_directory setting in the CGI script is correctly set to point to that directory. The default value is: $order_directory = "./orders/";


Be sure to give the "orders" directory WRITE and EXECUTE permissions. That is, use your FTP program to give the "orders" directory WRITE and EXECUTE permissions (chmod 733).


If you are still getting the "unable to open orders...", then you may need to edit the CGI script - using any text editor such as WordPad or NotePad - and change the $order_directory setting to reflect the FULL path to the "orders" directory. This is NOT the URL (http://..), but rather some full path such as "/www/htdocs/cgi-bin/orders/".

For example, try editing the script and changing the $order_directory setting in questions #10 from:

$order_directory = "./orders/";

to the full path to the directory:

$order_directory = "/www/htdocs/cgi-bin/orders/";

(You may need to ask your web hosting provider how to specify the full path on your server)

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


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.