billybrag Posted November 26, 2004 Posted November 26, 2004 does anyone know why the whos online last url visited feature doesnt work with windows 2003 IIS6 . I was hosted on a linux server but had to move, its really frustrating! does anyone have any ideas at all, or had the same problem? i tried upgrading the feature which added the referal url, which works fine, but still no joy on the last url bit! mike "because it'll hurt more"- the greatest film of all time?
Guest Posted November 26, 2004 Posted November 26, 2004 could be the firewall is setup differently, the permissions on the server, etc. windows is tempermental until you get it right.
billybrag Posted November 26, 2004 Author Posted November 26, 2004 could be the firewall is setup differently, the permissions on the server, etc. windows is tempermental until you get it right. <{POST_SNAPBACK}> thanks John, Do you have any suggestions though? i dont know what to do and what to suggets to my host! "because it'll hurt more"- the greatest film of all time?
billybrag Posted November 29, 2004 Author Posted November 29, 2004 any ideas at all from anyone? im really flumoxed by this mike "because it'll hurt more"- the greatest film of all time?
billybrag Posted December 5, 2004 Author Posted December 5, 2004 any ideas at all from anyone?im really flumoxed by this mike <{POST_SNAPBACK}> right then i have tried changing every setting i can, and am still lost any ideas please! before i loose the plot :wacko: "because it'll hurt more"- the greatest film of all time?
jls Posted December 30, 2004 Posted December 30, 2004 right then i have tried changing every setting i can, and am still lost any ideas please! before i loose the plot :wacko: <{POST_SNAPBACK}> This is what worked for me with my shared hosting Windows server: In catalog/includes/functions/whos_online.php change: $wo_last_page_url = getenv('REQUEST_URI'); to: $wo_last_page_url = $_SERVER[?URL?]; Let me know if it works for you. Jason
billybrag Posted January 6, 2005 Author Posted January 6, 2005 This is what worked for me with my shared hosting Windows server: In catalog/includes/functions/whos_online.php change: $wo_last_page_url = getenv('REQUEST_URI'); to: $wo_last_page_url = $_SERVER[?URL?]; Let me know if it works for you. Jason <{POST_SNAPBACK}> thanks for the reply jason, i have tried that but still to no avail, any other suggestions are more than welcome "because it'll hurt more"- the greatest film of all time?
youngr Posted July 29, 2005 Posted July 29, 2005 thanks for the reply jason, i have tried that but still to no avail, any other suggestions are more than welcome <{POST_SNAPBACK}> I had the same problem, found a fix at php.net: Reserved variables here's the code I put in catalog/includes/functions/whos_online.php: $wo_last_page_url = $_SERVER["REQUEST_URI"]; if(!isset($wo_last_page_url)) { $arr = explode("/", $_SERVER['PHP_SELF']); $_SERVER['REQUEST_URI'] = "/" . $arr[count($arr)-1]; if ($_SERVER['argv'][0]!="") $_SERVER['REQUEST_URI'] .= "?" . $_SERVER['argv'][0]; $wo_last_page_url = $_SERVER["REQUEST_URI"]; } This works fine on W2K3 Server. Regards, Russell
jazzy_b Posted June 26, 2007 Posted June 26, 2007 I had the same problem, found a fix at php.net: Reserved variables here's the code I put in catalog/includes/functions/whos_online.php: $wo_last_page_url = $_SERVER["REQUEST_URI"]; if(!isset($wo_last_page_url)) { $arr = explode("/", $_SERVER['PHP_SELF']); $_SERVER['REQUEST_URI'] = "/" . $arr[count($arr)-1]; if ($_SERVER['argv'][0]!="") $_SERVER['REQUEST_URI'] .= "?" . $_SERVER['argv'][0]; $wo_last_page_url = $_SERVER["REQUEST_URI"]; } This works fine on W2K3 Server. Regards, Russell Thanks that worked for me as well (on Win 2003 server!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.