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.

Advanced Usage Script URL Not Working

Discussion in 'Keyword Tracker' started by TulsaJeff, Oct 12, 2009.

  1. #1
    I placed the php file on my server which runs PHP 5.2.10. I placed the URL to this script in my profile and hit update.

    The script still says "Your advanced usage script URL is invalid. You can update it.."

    I have checked the syntax on everything and so far I can't find anything wrong.

    The site is http://www.smoking-meat.com

    The script file is at http://www.smoking-meat.com/support-files/keywords.php

    Any idea what is going on here?
     
    TulsaJeff, Oct 12, 2009 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Are you able to query a single keyword? (Clicking on an existing one)
     
    digitalpoint, Oct 12, 2009 IP
  3. TulsaJeff

    TulsaJeff Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can click on it and it tries to query but returns "0"

    The only error I am seeing is the red message at the top that tells me the script is invalid.

    I did notice that when I go to preferences, it is not saving the address to my script. Not sure if it is supposed to but thought I would mention it.

    Jeff
     
    TulsaJeff, Oct 12, 2009 IP
  4. ariel100

    ariel100 Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    Hi,
    I just signed on to try it, uploaded the tracker script, and am experiencing the same problem. Just wanted to point it is not isolated to just one user.
    Thnx for any help on this, eager to work with the service.

    Ariel
     
    ariel100, Oct 12, 2009 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #5
    Augh... ok, try now (sorry). :)
     
    digitalpoint, Oct 12, 2009 IP
  6. ariel100

    ariel100 Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    Ok, I checked upon receiving the try now message. The URL is invalid message was gone, first thought - YRA! fixed. but then first thing i did is click track back links option and custom charts and it returned, and is back--- namely

    if i update my account preferences, the Invalid message goes away, but to return upon clicking upon track backlinks or other options.
     
    ariel100, Oct 12, 2009 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    You ever just have one of those days? lol

    Okay, sorry (again)... try once more. :)
     
    digitalpoint, Oct 12, 2009 IP
  8. ariel100

    ariel100 Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #8
    All is well and fixed on my end! Thanks a bunch.. First time user, so i figured it was probably a minor tweak on my end needed, thanks a bunch for a fast fix!

    Ariel
     
    ariel100, Oct 12, 2009 IP
  9. ESAD

    ESAD Active Member

    Messages:
    120
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    88
    #9
    NM. I downloaded the new script. Works great!
     
    Last edited: Oct 12, 2009
    ESAD, Oct 12, 2009 IP
  10. dpvince

    dpvince Peon

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    dpvince, Oct 13, 2009 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    That's normal. You don't use the script directly, you just put it in your preferences on your keyword tracker account.
     
    digitalpoint, Oct 13, 2009 IP
  12. bilalx

    bilalx Active Member

    Messages:
    427
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #12
    same here
    when i directly run it i see this message

    or when i try to update my account its says

     
    bilalx, Oct 13, 2009 IP
  13. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #13
    What is your script URL?
     
    digitalpoint, Oct 13, 2009 IP
  14. dine

    dine Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #14
    Looks like the script on my server is generating 500 errors on DP:

    Warning: file_get_contents(http: //user:pass@kw.example.com/kw-track.php?se=g&d=10&l=9999&q=my+shiny+keyword&u=http%3A%2F%2Fwww.website.com&s=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /home/.sites/28/site1/web/tools/keywords/functions.php on line 112
     
    dine, Oct 14, 2009 IP
  15. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #15
    It might be the user/password you are trying to pass in the URL. I don't think you can do that.
     
    digitalpoint, Oct 14, 2009 IP
  16. dine

    dine Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #16
    Thanks Shawn,

    From the looks of this:

    [client 216.9.35.51] PHP Fatal error: Call to undefined function json_decode() in /usr/local/www/kwtrack/kw-track.php on line 65

    I don't have the Json enabled - tried to add it to extensions.ini but no fix... -apparently json.so is not in the library.
     
    dine, Oct 14, 2009 IP
  17. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #17
    json_decode() is why you need PHP 5.2.0 or higher for the script to work (if you are on a version of PHP lower than 5.2.0, you will be limited to only Bing and Yahoo results).
     
    digitalpoint, Oct 14, 2009 IP
  18. dine

    dine Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #18
    Yes, saw that - thanks for making sure though.

    X-Powered-By: PHP/5.2.10

    Apparently, the version of php that is installed with squirrelmail doesn't add the json.so library. I grabbed it from www aurore net/projects/php-json/

    Working now - even with the script running from a password protected area.

    Thanks for a great tool!
     
    dine, Oct 14, 2009 IP
  19. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #19
    Weird since the json stuff is installed by default with 5.2.0, so whoever compiled it must have had to compile it with --disable-json odd. {shrug} Glad you got it working though.
     
    digitalpoint, Oct 14, 2009 IP
  20. dine

    dine Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #20
    Unrelated to the previous issue: Bing results are 1 position off for me.

    Clicking on the keyword link shows the following:

    Surrounding URLs for "my fancy keyword"...
    #1: my fancy keyword
    http: www bing com:80/search?q=my+fancy+keyword
    #2: Best Fancy Keyword Website
    http: www fancy example com/
    #3: Complete listing of Fancy Keywords
    http: www fancy-keyword example com/map.html
     
    dine, Oct 14, 2009 IP