Error Using MSN and Yahoo Advanced Script

Discussion in 'Keyword Tracker' started by smanderson16, Feb 19, 2006.

  1. #1
    I get the following error when I try to add a Keyword series for MSN or Yahoo. I copied the script to a file called tracker.php using Notepad and copied it to my server. The address is http://www.smartsolutionsdesign.com/tracker.php.

    What is going wrong?

    ----------------
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/data/5/0/105/120/268935/user/273088/htdocs/tracker.php</b> on line <b>218</b><br />
    a:3:{s:7:"results";s:4:"9999";s:5:"total";N;s:6:"detail";N;}
     
    smanderson16, Feb 19, 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
    Try running it on a different server...
     
    digitalpoint, Feb 19, 2006 IP
  3. smanderson16

    smanderson16 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am not sure I understand what you are suggesting. I have uploaded the script to my website hosted by Network Solutions. It is the only server I have access to.
     
    smanderson16, Feb 19, 2006 IP
  4. RedCardinal

    RedCardinal Peon

    Messages:
    349
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think if you check the php script the problem is that it is trying to parse a html page rather than an xml file.

    I think this is because MSN are sending you the 'We have blocked your request due to spam...' HTML page.

    The php script is trying to parse an offset that doesn't exist and hence the error!
     
    RedCardinal, Feb 20, 2006 IP
  5. petervanwesten

    petervanwesten Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I too have this problem. So there is nothing I can do to prevent this?
     
    petervanwesten, Feb 22, 2006 IP
  6. smanderson16

    smanderson16 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I still have this problem and am hoping someone can tell me how to correct it? Thanks!
     
    smanderson16, Feb 26, 2006 IP