1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with tracker_script?

Discussion in 'Keyword Tracker' started by BlackjackInfo, May 17, 2018.

  1. #1
    When I download the tracking script from here:
    https://tools.digitalpoint.com/tracker?action=download_script
    it seems to be only a partial file. Here are the first few lines:
    ------------
    1, CURLOPT_TIMEOUT => 10));
    if ($_REQUEST['c'])
    {
    curl_setopt($ch, CURLOPT_COOKIE, $_REQUEST['c']);
    }
    ----------------
    SEMrush
     
    BlackjackInfo, May 17, 2018 IP
    SEMrush
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,224
    Likes Received:
    2,589
    Best Answers:
    458
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    I just tried it and I got a 3.9KB file that is fully there. What browser are you using?
     
    digitalpoint, May 24, 2018 IP
  3. BlackjackInfo

    BlackjackInfo Active Member

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #3
    I'm on Ubuntu 16.04, and with Chrome, Firefox and Chromium, I get an identical 3967 byte file that seems to be missing lines at the top.

    This began because I downloaded a fresh copy, just in case the copy on my server was out of date. When I got a server error with the 3967 byte file, I examined it and saw that it was missing the initial lines. So I re-installed the version I already had from before, which is a 5072 byte file.

    Just now it occurred to me that I should compare the two files, to see exactly how they differ. The only difference is that 31.5 lines are missing from the top of the file. If you are seeing a "3.9KB file that is fully there", that doesn't sound right? The correct version should be 5072 bytes, right?
     
    BlackjackInfo, May 24, 2018 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,224
    Likes Received:
    2,589
    Best Answers:
    458
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    I think I figured out what was going on... It looks like Cloudflare was seeing the PHP opening tag as an HTML tag and trying to "optimize" the output on the fly. I've forced CloudFlare to disable any optimizations on that URL and it seems to have fixed it for me. Let me know if you see the same.
     
    digitalpoint, May 24, 2018 IP
  5. BlackjackInfo

    BlackjackInfo Active Member

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #5
    Bingo! All set now. Thanks for the continued support of a very useful tool.
     
    BlackjackInfo, May 24, 2018 IP