www.uburst.com www.uburst.com

"AOL 5.0"

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
 
"AOL 5.0"
Posted by Matt on Oct-22-02 at 11:39 AM (EST)
Got a quick question on the AOL 5 browser and compatibility issue.

The customer is using the AOL 5 browser. They get to the REVIEW CART page only to get an "illegal referrer page" error.

I've checked my Control Panel and it IS set to receive VALIDATION (YES).

This is the only instance I've had though of customers not being able to process their order!

Any known issues and what to do about it if not...?

Thanks again,
Matt Kachurak

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: AOL 5.0, Bill Weiner, Oct-23-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: AOL 5.0"
Posted by Bill Weiner on Oct-23-02 at 06:52 AM (EST)
One thing to check is if the customer was visiting your website via a URL starting with:

"http://www." (such as http://www.yourdomain.com)

or from a URL starting with just:

"http://" (such as http://yourdomain.com)

If the start of the URL does not match the URL that you have configured in configuration question #3 in the script (the $store_url setting) then an "Illegal Referrer Page" error could result.

If that is the problem, the steps below describe how to modify the "validate_referral_page" subroutine to allow URLs starting with or without the "www":

STEP 1: Make a backup of your current ushop-lib.pl script... just in case.

STEP 2: Open your ushop-lib.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line in order to get to the start of the subroutine that validates the referring URL:

sub validate_referral_page

STEP 4: 4 lines down in that subroutine, directly AFTER the line:

$referrer_string = $ENV{'HTTP_REFERER'};

Add these two new lines:

$expected_referrer =~ s/www.//g;
$referrer_string =~ s/www.//g;

STEP 5: Save the script... as TEXT if your editor asks... and try it out!

That should do it.... as there aren't any known issues of AOL 5 browsers not relaying the referring URL.

If that does not resolve the problem, then worse comes to worse, you could just change the "Validate Referrer" check to NO. That is really just an extra check to make sure someone doesn't try duplicating your store's HTML pages, changing the prices, and then submitting an order. The probability of that happening is low.... and typically, the storeowner would notice if the product prices of an order look fishy.

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.