www.uburst.com www.uburst.com

"ushop.pl 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
 
"ushop.pl problems"
Posted by lee on Oct-08-02 at 09:23 PM (EST)
hi all. I am a newbie and will demonstrate here most likely. I am having problems logging into the control panel. I have uploaded ushop.pl correctly ( i think) as I can view the page but when i use my password I recieve the 500 internal error. my setup is as follows:
# 5. What is the full or relative path to your data directory?
$data_directory = "./data/";
# 4. What is the secure URL of this script?
$secure_script_url = "https://www.slksolutionsinc.com/cgi-bin/ushop.pl

i also seem to have my "continue" button point to Ushops demo page was I am finished reviewing an order. In my "tutorial_orderform.html" I changed the value to VALUE="https://www.slksolutionsinc.com/cgi-bin/ushop.pl"> and it continues to hit ushops site...Any help would be much appreciated!!!!!

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: ushop.pl problems, Bill Weiner, Oct-09-02, (1)
ushop.pl, lee, Oct-09-02, (2)
RE: ushop.pl, Bill Weiner, Oct-10-02, (3)
almost -secure_url link, lee, Oct-10-02, (4)
RE: almost -secure_url link, Bill Weiner, Oct-11-02, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: ushop.pl problems"
Posted by Bill Weiner on Oct-09-02 at 05:45 AM (EST)
First in regard to the internal server error that you are getting:

You can check out item #2 on the following test page for some tips on resolving internal server errors:

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

But from just looking at the information that you gave... which may just be a typo in your posting to this forum... I notice that you list the secure URL as:

$secure_script_url = "https://www.slksolutionsinc.com/cgi-bin/ushop.pl

Note that it is missing the final double-quote and semicolon. It should be:

$secure_script_url = "https://www.slksolutionsinc.com/cgi-bin/ushop.pl";

If that doesn't resolve the problem for you, I would suggest trying to install the test script described at:

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

That test script is the most basic of CGI scripts... and so by going through the exercise of installing it, you will find out if there are any special things you need to do in order to execute CGI scripts on your server.


Secondly, in regard to continuing to uShop's Demo page:

The "script_url" parameter of your uShopOrderButton applet should be pointing to the full URL of the ushop.pl script installed on your server. For example:

< PARAM NAME="script_url" VALUE="https://www.slksolutionsinc.com/cgi-bin/ushop.pl" >

Double-check that setting ... and if it is correct, then make sure that you exited/restarted your browser after correcting that URL.

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 . "ushop.pl"
Posted by lee on Oct-09-02 at 08:09 AM (EST)
hello again..

I have tried the test script, it works fine:

http://www.slksolutionsinc.com/cgi-bin/cgitest.pl

I have:
http://www.slksolutionsinc.com/cgi-bin/ushop.pl
or
ushop.pl set to 755

the two paths that seem to be important are:

# 4. What is the secure URL of this script?
$secure_script_url = "https://www.slksolutionsinc.com/cgi-bin/ushop.pl";

# 5. What is the full or relative path to your data directory?
$data_directory = "./data/";

I emailed my service provider and they state the path is :

./data/ would be the relative path. /home/username/www/cgi-bin/data would be the full path. Replace 'username' with your actual username.

Should I have to try the second or full path?
thanks again for the help..

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 Oct-10-02 at 04:33 AM (EST)
By going to the URL of your uShop Script at:

http://www.slksolutionsinc.com/cgi-bin/ushop.pl

.... I see that you successfully get the uShop Login Screen. So that's good.

However, by trying to go to the SECURE (https) URL of your uShop Script at:

https://www.slksolutionsinc.com/cgi-bin/ushop.pl

(Based on your $secure_script_url setting)

.... it appears that you do not have a secure certicate setup on your site... so you cannot access the site via "https".

This is also true with your cgitest script:

http://www.slksolutionsinc.com/cgi-bin/cgitest.pl

... works, but:

https://www.slksolutionsinc.com/cgi-bin/cgitest.pl

... does not work.

You'll need to consult your web hosting provider to get secure certificate setup... but in the meantime, you can run uShop from your PUBLIC (http) server by changing your $secure_script_url setting to start with "http" instead of "https":

# 4. What is the secure URL of this script?
$secure_script_url = "http://www.slksolutionsinc.com/cgi-bin/ushop.pl";

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 . "almost -secure_url link"
Posted by lee on Oct-10-02 at 02:12 PM (EST)
Thanks for your help Bill..now I have been set up with SSL. This is the message I get from my provider

Dear User,

We have added SSL capabilities using our certificate on your server.

The URL of you secure directory is https://stronghold.your-site.com/leeschil/ .

The files in this directory are the same as /home/leeschil/www/ .

How will the new script read?
Thanks again of course..

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: almost -secure_url link"
Posted by Bill Weiner on Oct-11-02 at 05:10 AM (EST)
Ok, then similar to how you can access the test script securely via the URL:

https://stronghold.your-site.com/leesch/cgi-bin/cgitest.pl

You will access the uShop CGI script the same way. Thus, you should set the $secure_script_url to the following:

# 4. What is the secure URL of this script?
$secure_script_url = "https://stronghold.your-site.com/leesch/cgi-bin/ushop.pl";

The secure URL:

https://stronghold.your-site.com/leesch/cgi-bin/ushop.pl

Is alse the URL you should use when logging in.

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.