Snowman
01-05-2003, 08:15 PM
I have found a fix for those of you who are having an issue with osCommerce.
Its been suggested the issue is to do with the register_globals settings in 4.3.1 and we are looking into a permanent fix for the issue.
I have however found a temporary fix for the issue :)
By editing out the ad and referrer tracking and it seems to be working ok...so far...
Unfortunately this means osCommerce will not record referring IP's.
To apply the fix to your store edit out the last lines of catalog/includes/application_top.php
// ad tracking
// if (!$advertiser) {
// $advertiser = $_GET["ad"];
// tep_session_register('advertiser');
// }
// if (!$referer_url) {
// $referer_url = $_SERVER['HTTP_REFERER'];
// tep_session_register('referer_url');
// }
Its been suggested the issue is to do with the register_globals settings in 4.3.1 and we are looking into a permanent fix for the issue.
I have however found a temporary fix for the issue :)
By editing out the ad and referrer tracking and it seems to be working ok...so far...
Unfortunately this means osCommerce will not record referring IP's.
To apply the fix to your store edit out the last lines of catalog/includes/application_top.php
// ad tracking
// if (!$advertiser) {
// $advertiser = $_GET["ad"];
// tep_session_register('advertiser');
// }
// if (!$referer_url) {
// $referer_url = $_SERVER['HTTP_REFERER'];
// tep_session_register('referer_url');
// }