uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
login problems

Knowledge Base Lobby : uShop Support Conference : General Questions
Dec-13-17 01:49 PM EST
Original Message
login problems
Author Jeff Baas on 07-26-2002 at 11:01 (EST)
My web host gave me a directory other than cgi-bin to place my scripts. When I try to log in from my browser by pointing to that directory, I get the login screen, but when I enter my password, it bounces me over the cgi-bin instead and gives me a 404 error. What do I need to do to keep it searching in the directory where the scripts actually are?
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: login problems Bill Weiner, 2002-07-28 08:11:50 (1)
            configuration set correctly, problem still exists Jeff, 2002-07-29 14:37:09 (2)
                 RE: configuration set correctly, problem still exists Bill Weiner, 2002-07-30 04:34:49 (3)
  still does not work Jeff, 2002-07-30 10:53:59 (4)
            RE: still does not work Bill Weiner, 2002-07-31 05:03:44 (5)
                 Thanks Jeff, 2002-08-01 07:14:43 (6)

Messages In This Discussion
         1. RE: login problems
        Author Bill Weiner on 07-28-2002 at 08:11 (EST)
Make sure configuration question #4 in your ushop.pl script (th $secure_script_url setting) is properly set to the actual URL of your script on your server.
TABLE OF CONTENTS
                 2. configuration set correctly, problem still exists
                Author Jeff on 07-29-2002 at 14:37 (EST)
The configuration for question 4 in the ushop.pl script, as copied directly from the script, is:

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

The URL that accesses the login screen, as copied directly from the browser, is:

https://mastervisions.com/cgi-mastervisions/ushop.pl

When I try to log in from that URL, I get the following URL:

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

After having my hosting company look into this, they made some fixes that now result in me receiving an Illegal Referrer Page error. I contacted the hosting company again and they said that such an error would come from the script. The problems with the script are preventing the script from processing orders, as I described in a posting on the Problems Trying to Place Orders forum. I would appreciate any information you could give me to enable me to get our shopping cart functioning properly. Thanks.
TABLE OF CONTENTS
                         3. RE: configuration set correctly, problem still exists
                        Author Bill Weiner on 07-30-2002 at 04:34 (EST)
When I go to the URL of your script at:

https://mastervisions.com/cgi-mastervisions/ushop.pl

... and view the source of the login form, I see that the login form will get posted to the URL:

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

This indicates that your script at:

https://mastervisions.com/cgi-mastervisions/ushop.pl

... has configuration question #4 set to:

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

So check again and make sure your script at:

https://mastervisions.com/cgi-mastervisions/ushop.pl

... has configuration question #4 properly set to:

$secure_script_url = "https://mastervisions.com/cgi-mastervisions/ushop.pl";

And to make things less confusing, go ahead and delete any other copies of the "ushop.pl" script on your website... especially the "ushop.pl" script located at:

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

This will make sure you know which copy of the ushop.pl script is actually being used.
TABLE OF CONTENTS
         4. still does not work
        Author Jeff on 07-30-2002 at 10:53 (EST)
Our site script still does not work.

Our configuration for question 4 is as follows:

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

That is exactly how it appears in the script. I copied the two lines directly out of the script.


I have done the same thing with the following url, copying it directly from the address box of my browser.

https://mastervisions.com/cgi-mastervisions/ushop.pl

Neither of the lines above has been typed into this post. Both of them were copied and pasted into this post. So unless you see something in either that we have missed in dozens of times comparing them, please don't tell us again that the only problem is that we must have entered the configuration information wrong.

Since your last message, we followed your recommendation and deleted the duplicate scripts in the cgi-bin directory we had used in our first upload. That has merely changed the problem. Now instead of getting an Illegal Referrer error, We get a CGIWrap error and a message indicating that either the file could not be found or permissions were incorrect. We have set the permissions for the cgi-mastervisions file and the three scripts to 755. The data file is set to 777 and the three templates within it are set to 644.

I apologize if the tone of this post is a little sharp. I'm concerned about the fact that my client has been unable to process orders on his website from Thursday through today. Any help you can give us on solving this problem would be greatly appreciated.

TABLE OF CONTENTS
                 5. RE: still does not work
                Author Bill Weiner on 07-31-2002 at 05:03 (EST)
As per our phone conversation, since even the basic "cgitest.pl" script does not work on your site, you need to contact your web hosting provider and have them resolve the configuration problem with your web hosting account not executing CGI scripts. My bet (since you mentioned that uShop 2.x was working fine in your cgi-bin) ... is that your "cgi-mastervisions" directory needs to be renamed back to cgi-bin.

But again, just show your web hosting provider that that most basic of CGI scripts - cgitest.pl - is not working on your server and they will be able to recognize the configuration problem with your server.
TABLE OF CONTENTS
                         6. Thanks
                        Author Jeff on 08-01-2002 at 07:14 (EST)
Thanks much for going the extra mile for us. Our hosting company accepted responsibility and fixed the problem. We can now log in and process orders normally. Again, many thanks for your extra effort.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.