URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushop_place_order
Thread Number: 126
[ Go back to previous page ]

Original Message
"Asking for Login"

Posted by oli [theshadow-77@home.com] on at 02:17 PM
I have something odd happenning, I am sure it is something I did, but am a little clueless on it.

I have just registered the Ushop, and when I press the Continue button after filling in the personal information page, the perl script just asks for my login.


Table of contents

Messages in this discussion
"Re: Asking for Login"
Posted by Joseph Pishgar [support@uburst.com] on at 02:37 PM
Do you mean you are trying to download the script from our site, or you are working with your own site and its doing that?

If the latter is the case, try rechecking your paths in the scripts and template pages, and making sure that they point to the right places as outlined at-
http://www.uburst.com/uShop/reference.html

Regards,
Joseph Pishgar
Support Engineer


"Re: Asking for Login"
Posted by Bill Weiner on at 10:58 PM
Another thing to check...

If you are getting all the way to the page where you fill out the order form... but then see the uShop Login page when pressing the "Continue" button on that page... then more than likely, the problem is that the < FORM > HTML tag on your "order_template.html" file accidentally got changed to lower-case. That is, take a look at your "order_template.html" file that is located in your cgi-bin's "data" directory and make sure that the FORM tag near the top of the template is:

< FORM >

and NOT:

< form >

(That particular HTML tag is case-sensative and should be UPPER-CASE).

So check that and if that doesn't resolve the problem, give me the URL and I will take a look at it.


"Closer"
Posted by oli [theshadow-77@home.com] on at 02:53 PM
Well the Upper case solution seems to have been the problem.

The continue button works, but now it directs to a page that says:

Illegal Referrer Page

--------------------------------------------------------------------------------
The referring page did not meet security requirements.
--------------------------------------------------------------------------------

Press BACK To Continue


"RE: Closer"
Posted by Bill Weiner on at 08:08 PM
At what point in the order process are you seeing the "Illegal Referrer Page" message?

If it is directly after the first "Review Cart" page, then that is where the script will check that the referrer is indeed the URL that was configured in configuration question #3 of the ushop.pl script (the $store_url value).

If it is occurring at some other point in the order process, then that is where the script will check that the referrer is the URL configured in configuration question #4 of the ushop.pl script (the $secure_script_url value). (Especially make sure that the "script_url" parameter of your uShopOrderButton applet EXACTLY matches the $secure_script_url setting in your ushop.pl script).


"still nothing"
Posted by oli [theshadow-77@home.com] on at 03:52 AM
I tried these suggestions, but still nothing.

Here is the script URL:

http://www.ferretex.com/sindex.htm

Thank you for your support,


"thinking...."
Posted by oli [theshadow-77@home.com] on at 09:43 PM
Now the ushop.pl script seems to be thinking and thinking with no response. (right after the continue button on the page for inputing customer details.)

Eventually the browser says that the script isn't there.

I'm pretty lost on it now.


"Still not meeting security requirements."
Posted by oli [theshadow-77@home.com] on at 02:23 PM
I am still getting this error:

Illegal Referrer Page

--------------------------------------------------------------------------------
The referring page did not meet security requirements.
--------------------------------------------------------------------------------

Press BACK To Continue

Perhaps you guys can tell me if this will work for me or not.


"RE: Still not meeting security requirements."
Posted by Bill Weiner on at 08:24 PM
I tried looking at your site to see EXACTLY where you are getting an illegal referrer error, but it appears that the script is not located at your specified "script_url":

http://www.ferretex.com/catalog/cgi/ushop.pl

(The above URL - which is linked to via your uShopOrderButton applet - results in a "File Not Found" error).

So correct that and then I'll take another look at it.


"Location Change"
Posted by oli [theshadow-77@home.com] on at 04:44 PM
My hosting company removed the script as they said it was constantly running in the background. Somehow it was chewing up their server processor. They said that they have about 100 sites on that server and the ushop.pl script is taking up about 80-90% of the processor time. :(

We have just moved it over to another unix server with a cobalt box at http://www2.ferretex.com/sindex.htm and the script is located at http://www2.ferretex.com/catalog/cgi/ushop.pl .

The problem is that when you press the continue button on the page for customer details, it just thinks and thinks and thinks. Nothing happens.

Thanks for the help Bill. I hope it can be resolved quickly, I'm hoping to have this up and running soon.

-oli


"Hosting Provider"
Posted by oli [theshadow-77@home.com] on at 05:28 PM
I just talked to the hosting provider about the script. They said that the script is chewing up processing time at the point that the continue button on the customer details page is pushed.

They said it was eating up 134 megs and it was increasing with every second before they shut it down. We are still testing this all on the www2 space.

They did say that the ushop.pl script was looking for a file called ushop-settings.txt in the data directory, but there is none there.

Does this make sense?


"email"
Posted by oli [theshadow-77@home.com] on at 08:04 PM
If you need to take a closer look, email me and I'll send you the FTP/telnet codes to enter the site.

"RE: email"
Posted by Bill Weiner on at 10:57 PM
Two things:

1) The uShop CGI script does utilize a file called "ushop-settings.txt" ... which should have been created in your data directory the first time you logged in to the uShop Control Panel and configured the general settings. Have you done that? (Note: Regardless of whether the "ushop-settings.txt" file exists or not...that will NOT be causing the script to lock up.)

2) If you say the script is continuously running after the user enters his/her billing/shipping information, then there may be a problem with your "order_template.html" file. Have you modified that file at all? I would suggest trying the standard "order_template.html" file that is distributed with uShop. Just transfer the default "order_template.html" file to your server (in ASCII mode) ... and see if that resolves your problem.


"tanking the server"
Posted by oli [theshadow-77@home.com] on at 03:33 PM
sorry it has been so long since I have been on this project.

Because of the time it has taken, I have informed the client that this will take a lot longer than originally thought, as I have had to complete some other projects.

My hosting company has put it on a different location, http://www2.ferretex.com/sindex.htm while we test it out.

I have reloaded the original order_template file, and still the servers tank out.

The tech guys with my hosting company would like to speak to one of you directly to find the problem, if you are willing. Just email me for the contact info.


"RE: tanking the server"
Posted by Bill Weiner on at 11:04 PM
If you submit a support request with your FTP information, I'll take a look at your configuration.

Also include any other questions you/your hosting provider may have in the support request.

http://www.uburst.com/supportform.html