Getting errors in the searchapi.php script

Discussion in 'Keyword Tracker' started by msweiger, Sep 17, 2006.

  1. #1
    Hi,

    This morning I am starting to get the following error from the standard, Shawn-supplied search API PHP script. It doesn't seem to happen every time the script is executed, just some of the time. So far I have only gotten it with MSN (now live.com) requests. I updated the script with the latest version off the web site, and I am still getting this error:

    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/virtual/site81/fst/var/www/html/searchapi.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/virtual/site81/fst/var/www/html/searchapi.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/virtual/site81/fst/var/www/html/searchapi.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/virtual/site81/fst/var/www/html/searchapi.php</b> on line <b>218</b><br />
    a:1:{s:7:"results";s:4:"9999";}

    I am not sure what is the cause. Any ideas?

    Mark
     
    msweiger, Sep 17, 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 it just for MSN by chance?
     
    digitalpoint, Sep 18, 2006 IP
  3. msweiger

    msweiger Peon

    Messages:
    22
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yep, it was MSN. Today, I am trying to reproduce the problem with MSN, and not having any luck. Everything seems to work fine today, although the performance is unusually sluggish.

    Mark
     
    msweiger, Sep 18, 2006 IP