www.uburst.com www.uburst.com

"NT - Can't read orders after order is placed"

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
 
"NT - Can't read orders after order is placed"
Posted by Chad Maisel on Apr-30-00 at 06:07 PM (EST)
OK, I've got cgi scripts running perfectly on my NT server. The problem I have is that when I place an order I get the message "unable to read ./orders/16334768" I've read thru all of the similar messages and the article regarding this and have changed the permission to include read, moved the directory out of cgi, removed the ./ from the script, put in the exact path to the orders directory, but to no avail. Any suggestions?

Thanks

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: NT - Can't read orders after or..., Bill Weiner, Apr-30-00, (1)
NT orders, chad maisel, Apr-30-00, (2)
RE: NT orders, Bill Weiner, May-01-00, (3)
NT order, Chad Maisel, May-01-00, (4)
RE: NT order, Bill Weiner, May-02-00, (5)
NT Orders, Chad Maisel, May-02-00, (6)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: NT - Can't read orders after order is placed"
Posted by Bill Weiner on Apr-30-00 at 09:43 PM (EST)
There are two things to check:

1) Make sure that the "scriptpath" parameter of your uShopOrderReaderCGI applet is set to exactly the same value as the "scriptpath" parameter of your uShopOrderCGI applet. This is just to make sure that you are linking to the same script.

2) Based on your "unable to read ./orders/16334768" message, it sounds like you may have left off the leading "U" in the order number. That is, enter the order number exactly as it appears on the order notification email - it will always begin with a "U". So try entering the order number as "U16334768".

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 . "NT orders"
Posted by chad maisel on Apr-30-00 at 09:47 PM (EST)
Sorry Bill maybe I didn't explain it right. When I click send on the order form it writes the order to the orders directory, but I get the "unable to read ./orders/and whatever the order number is" in IE. My customers see that same error. If I go to the orders folder I can read the order, but how do I keep that error from coming up. I'v tried everything on your troubleshooting guide.

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: NT orders"
Posted by Bill Weiner on May-01-00 at 08:20 AM (EST)
Oh, sorry about that. I guess I mis-read the question.

So you can see that the order files are being written to your "orders" directory? That helps to narrow down the problem to say that:

1) Your path to the "orders" directory is correct.

2) You do have at least WRITE permission on your "orders" directory.

So that means the problem will be either:

1) The "orders" directory does not have READ permissions. Try one more time giving the directory READ permissions ... directly using NT Explorer (as opposed to using the IIS Manager).

2) Otherwise the script may just not have access to read from that directory. This you may be able to correct with some .htaccess file. Either that or you may just have to move your orders directory from being a sub-directory of your cgi-bin. Just be sure that if you do that (and move the "orders" directory outside your cgi-bin) that it doesn't allow regular website visitors from viewing the contents of that directory. See:

http://www.uburst.com/uShop/reference/security.html#SECURITY35

for more about that.

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 . "NT order"
Posted by Chad Maisel on May-01-00 at 08:52 AM (EST)
I've tried both of those, but get the same error. What is htaccess file?. My website is www.waycoolpaintball.com/store/shop.htm if you want to see the error message you get.
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
 
5 . "RE: NT order"
Posted by Bill Weiner on May-02-00 at 05:52 AM (EST)
I'm not an expert on configuring NT servers so I can't give exact instructions on how to setup your NT server, but I can tell you that if you are seeing order files written to your "orders" directory....but are still getting the "unable to open order" error, then the problem will be one of the following:

1) The "orders" directory does not have READ permission.

or

2) The script does not have permission to READ from that directory.

You'll have to consult your NT documentation about setting the permissions on that directory and about control the permissions that CGI scripts run.

3) Or, as one last option that I can suggest, perhaps the unable to read problem is related to the search path on your NT server. You can eliminate this by using a FULL path to your "orders" directory instead of a RELATIVE path. That is, instead of using something like "./orders/" as your orders directory path, try using the full directory path on your NT server which will be something like "d:/users/mydomain/cgi-bin/orders" ... or if you moved the directory out of your cgi-bin, something like "d:/users/mydomain/orders". That would at least eliminate the search path as a possible problem and verify that option 1 or 2 (above) is the problem.

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
 
6 . "NT Orders"
Posted by Chad Maisel on May-02-00 at 08:32 AM (EST)
The actual error is Unable to read e:/waycool/cgi-bin/orders/U1918376377. As you can see I have the direct path. I'll check some other things out.
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.