Menu

#2 Referer not working

open
nobody
None
5
2007-12-23
2007-12-23
No

I'm not getting any referer information in my stats for any of the counters that I have active. What could be the cause?

I'm using version 1.3.0

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Yes, me too, why so?

     
  • Aleksei Loos

    Aleksei Loos - 2008-07-19

    Logged In: YES
    user_id=2152820
    Originator: NO

    I think the problem arises with register_globals = off

    $LocalPage = $_SERVER["HTTP_REFERER"]; <- was fixed
    $Referer = $_GET["Referer"]; <- should be fixed

    So adding the referer line in inc.php fixes this problem.

     
  • Jeff Shippen

    Jeff Shippen - 2010-03-10

    as lanbotdevman suggested, I added the code after line 69 in inc.php. This fixes referer, but not referer domain.

    $Referer = $_GET["Referer"]; # Line 69

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.