error handling

Discussion in 'Keyword Tracker' started by jhwss, Jan 4, 2006.

  1. #1
    Just tried doing a check and got this spat back at me:

    Warning: file_get_contents(<path to the advanced script>?se=g&d=50&l=&q=<query string>&u=<url of site to be ranked>&key=<google api key>): failed to open stream: HTTP request failed! in /home/.sites/28/site1/web/tools/keywords/functions.php on line 112

    Presumably this either means the advanced script couldn't be found, or Google didn't return a page. Any chance of adding some error handling so that we get more enlightening responses? Might reduce the number of support posts you get...
     
    jhwss, Jan 4, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Is your advanced usage script still in the place it's supposed to be?
     
    digitalpoint, Jan 4, 2006 IP
  3. jhwss

    jhwss Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Shawn,

    Advanced usage script was indeed in place, it seems to be working OK now so it must just have been a brief outage on my webhosting account causing it.
     
    jhwss, Jan 5, 2006 IP