www.uburst.com www.uburst.com

"Server error on trying to access ushop.pl"

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
 
"Server error on trying to access ushop.pl"
Posted by Andy Wilson on Apr-16-01 at 11:02 AM (EST)
I've uploaded ushop.pl to my gci-bin but get 'Server Error' message when trying to access the script through my browser. I've checked that the file permissions are 755.
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: Server error on trying to acces..., Joseph Pishgar, Apr-16-01, (1)
ushop.pl, Andy Wilson, Apr-16-01, (2)
RE: ushop.pl, Bill Weiner, Apr-17-01, (3)
ushop.pl problems, Andy Wilson, Apr-17-01, (4)
RE: ushop.pl problems, Bill Weiner, Apr-18-01, (5)
pl files, Andy Wilson, Apr-19-01, (6)
RE: pl files, Bill Weiner, Apr-19-01, (7)
2 further queries, Andy Wilson, Apr-19-01, (8)
Clarification of last message, Andy Wilson, Apr-19-01, (9)
RE: Clarification of last message, Bill Weiner, Apr-20-01, (10)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Re: Server error on trying to access ushop.pl"
Posted by Joseph Pishgar on Apr-16-01 at 12:06 PM (EST)
Try CHMODing it to 777 and see if that works.
Did make double sure that you uploaded it in ASCII format?
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
 
2 . "ushop.pl"
Posted by Andy Wilson on Apr-16-01 at 12:31 PM (EST)
Tried 77 and get the message 'Incorrect permissions'
Checked ASCII upload also.
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: ushop.pl"
Posted by Bill Weiner on Apr-17-01 at 06:40 AM (EST)
The only things that can be causing a server error are the three items listed in Section 2 on this troubleshooting page:

http://www.uburst.com/uShop/troubleshooting.html

Also, 3 questions:

1) What type of server do you have Unix or Windows?

2) What is the URL of your script... so that I can see the exact error message that you are getting?

3) Have you tried installing this test script:

http://www.uburst.com/uShop/testscript.html

... in order to make sure that your account is configured to run CGI scripts?

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 . "ushop.pl problems"
Posted by Andy Wilson on Apr-17-01 at 10:36 AM (EST)
Thanks for the swift response and suggestions. Support is very good for this product as I found when getting version 2 working.
I've successfully run the test script. My server have got the ushop.pl script working saying it should have been transferred in Binary mode (against your instructions). They apparently did this by telnet and giving the command dostou
However, if I try to go to the other .pl scripts I still get the error messages. e.g.http://www.knockonwood.co.uk/cgi-bin/ushop-lib.pl
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: ushop.pl problems"
Posted by Bill Weiner on Apr-18-01 at 06:22 AM (EST)
Yes, some servers require that you run a "dos2unix" utility on any scripts transferred over to it from a Windows machine.... And that's why we suggest installing that test script... so that you can find out if there are any such special things that need to be done on your server in order to get scripts to run.

Anyway, it sounds like you have it running now. That is, I see that you successfully get the login screen at the URL:

http://www.knockonwood.co.uk/cgi-bin/ushop.pl

The URL of the library:

http://www.knockonwood.co.uk/cgi-bin/ushop-lib.pl

.... will generate an error because it will have no output. You never need to refer to that ushop-lib.pl URL directly... but instead should just use your ushop.pl URL.

So try logging in to your control panel and see if everything is working for you.

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 . "pl files"
Posted by Andy Wilson on Apr-19-01 at 03:43 AM (EST)
I can now login and change settings successfully. I'm still having problems with OrderButtonClass being blank and have looked at troubleshooting on that subject without success. I'll do some more work on that before posting another request.
Just one note on the cgitest.pl script. This worked fine first time after transferring to the cgi-bin so therefore didn't show any of the subsequent problems with the other scripts requiring dos to unix conversion.
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
 
7 . "RE: pl files"
Posted by Bill Weiner on Apr-19-01 at 05:22 AM (EST)
Let us know if you need assistance with the uShopOrderButton (By the way, if the problem is that the image is not being displayed then it may just be that the image is not located in your classes directory).

In regard to the cgitest.pl script working without running dos2unix... it may have been because you downloaded the file directly from our Unix server. If you used the cgitest.pl file that was included in the ushop.zip file... then that may have required the dos2unix utility. In any case, glad you got it working.

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
 
8 . "2 further queries"
Posted by Andy Wilson on Apr-19-01 at 08:32 AM (EST)
Regarding the order template file in the unzipped cgi-bin. When I try to open it in my web design package (Hot Metal) I'm getting the message 'There is a problem with the attributes in the following tag . If you continue it will be changed to . It then gives me the options of saying 'Yes' to this change , going to the source code to fix it or ' Cancel' Any ideas why this is coming up?
Secondly, on the 'ShopOrderButton' applet I'm getting the image O.K. but when I click on 'Begin the Order Process' I get a very brief 'Please Wait' followed by a blank screen. I'm using the default codebase and have made sure the final / is included.
This is all in the Hotmetal browser in which the demo site works fine.
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
 
9 . "Clarification of last message"
Posted by Andy Wilson on Apr-19-01 at 09:31 AM (EST)
Some of the last message didn't get displayed. The tag the Hotmetal browser is having problems with is USHOP INSTRUCTIONS and the software wants to change it to USHOP.
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
 
10 . "RE: Clarification of last message"
Posted by Bill Weiner on Apr-20-01 at 05:59 AM (EST)
Reply posted at:

http://www.uburst.com/dcforum/ushop_applets_shopcart/82.html

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.