uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Illegal referer

Knowledge Base Lobby : uReserve Support Conference : Troubleshooting Questions
Jul-20-18 01:00 AM EST
Original Message
Illegal referer
Author David Schrimpf on 08-15-2001 at 10:19 (EST)
I have a client using the ureserve 1.01 script that I set up. They have been using it for a few months with no problems but today they started getting this illegal referer error.

They click on the name of the resource to bring up the small window. They fill in the appropriate information and click the "Reserve" button. That is when the error appears.

I just noticed that when you click on the name of the procedure on a certain day, it adds "#DAY2" to the URL. Could that be causing the illegal referer?

For what it's worth, it works perfectly from my location every time, but hasn't worked for them at all today.

Thanks in advance for any help

Table Of Contents
  Re: Illegal referer Joseph Pishgar, 2001-08-15 12:33:15 (1)
            "Re: Illegal referer" David Schrimpf, 2001-08-15 13:35:06 (2)
                 Re: Illegal referer Joseph Pishgar, 2001-08-15 14:47:32 (3)
                      Re: Illegal referer Bill Weiner, 2001-08-16 05:10:19 (4)
                           "Re: Illegal referer" David Schrimpf, 2001-08-16 11:44:07 (5)
                                ""Re: Illegal referer"" David Schrimpf, 2001-08-16 11:57:07 (6)
                                     """Re: Illegal referer""" David Schrimpf, 2001-08-16 15:34:46 (7)
                                          Re: Illegal referer Bill Weiner, 2001-08-17 05:04:41 (8)

Messages In This Discussion
         1. Re: Illegal referer
        Author Joseph Pishgar on 08-15-2001 at 12:33 (EST)
Hello David,

Could you provide us with a URL to check the site out at?

Sounds like something browser-related.

Joseph Pishgar
                 2. "Re: Illegal referer"
                Author David Schrimpf on 08-15-2001 at 13:35 (EST)
I emailed with the URL. I didn't want to post it in a public place.

Thanks for checking it out.

If it helps, I have tried it with the following browsers:

IE5 / Mac
Netscape 4.77 Mac

IE 5.5 (AOL version) on Windows 98

and had no problems. I haven't been able to duplicate the problem from my two locations, but they have duplicated it from two different locations.

                         3. Re: Illegal referer
                        Author Joseph Pishgar on 08-15-2001 at 14:47 (EST)
Thats odd.
Could you have them send you a more detailed report of exactly what it is they are doing, as well as browser version and computer platform.

Sometimes macs or netscape interpret things differently. If we can reproduce the error we can diagnose it.

-Joseph Pishgar
                                 4. Re: Illegal referer
                                Author Bill Weiner on 08-16-2001 at 05:10 (EST)
The first thing I would check is that they are linking to your site/script via the exact same URL that you configured in configuration question #5 ($script_url). That is, if that URL has the "www" in it...then make sure they are linking with that "www" in it. Or if your script is on a public server... make sure they are not linking via "https".

Otherwise, yes, it would be helpful to know what browser/OS they were using when they get the "illegal referrer" error.

And it would also be helpful to know if they also got the error when just moving to different weekly schedules (via the "Next" and "Previous" buttons). Or was it just when trying to make a reservation?

But in any case, what you can do for now is to disable the referring page check by following the instructions below. That referral check is just an extra security precaution... but is not necessary since we validate ALL USER INPUT anyway.


STEP 1: Make a backup of your current script...just in case.

STEP 2: Open your script with any text editor such as WordPad.

STEP 3: Do a "search" in script for the line that starts with the following text:

&missing_input("Illegal Referrer Page"

(There is only one occurance of that line).

STEP 4: Comment that line out by adding a "#" sign in front of it, like this:

#&missing_input("Illegal Referrer Page"

STEP 5: Save the script (as TEXT if your editor asks)... and try it out!
                                         5. "Re: Illegal referer"
                                        Author David Schrimpf on 08-16-2001 at 11:44 (EST)
Thanks for the replies.

I'm trying to get the platform/browser info out of them and I'll post it here when I get it. I'm pretty sure they are at the exact same URL as I entered in question #5, but I will check on the https thing.

Meanwhile, I am using the 1.01 version of the script which you emailed me and which displays times in normal 12 hour time. I'll try commenting out that same line and see what happens, but if you have different instructions for this version, please let me know.

Thanks again for all your help.
                                                 6. ""Re: Illegal referer""
                                                Author David Schrimpf on 08-16-2001 at 11:57 (EST)
I forgot to mention that they also get the error when they click the "Next week" and "Previous week" buttons.

I just commented out that line in my version of the script and the script still works for me... I'm going to have them try it now.
                                                         7. """Re: Illegal referer"""
                                                        Author David Schrimpf on 08-16-2001 at 15:34 (EST)
Just wanted to follow up on this...

I commented out the line and it's all working for them now.

I still wonder why the problem cropped up so suddenly after months of use, and I suspect it was something to do with their network, but their IT people were not helpful.

Anyway, thanks for the support!
                                                                 8. Re: Illegal referer
                                                                Author Bill Weiner on 08-17-2001 at 05:04 (EST)
Thanks for the feedback.

My guess is that their browser is not setting the HTTP_REFERER environment variable for some reason.... i.e., maybe there is some security setting on the browser now that causes the HTTP_REFERER environment variable to not get set. We'll continue to look into... and if you do find out their browser/OS that would help too.

In any case, glad it's working for you now.

© 2003 Microburst Technologies, Inc.