ad_network.php file needs updating

Discussion in 'Co-op Advertising Network' started by symetrix, Jan 9, 2005.

  1. #1
    My ads keep displaying "ad_network.php file needs updating". I updated and deleted ad_network_ads.txt both yesterday and today.

    I have gone over every solution posted here and none of them apply. I also did a quick grep and can't find the string in question anywhere in my ad_network* files.

    So, DP... mind double checking things on your end? :)

    In the mean time, here is a quick fix for anyone having the same problem -- Replace your on page code with this:
    <?
    include('ad_network.php');
    if(!strstr($ad_network[0],"needs up")) {
       echo $ad_network[0]."\n";
    }
    ?>
    Code (markup):

     
    symetrix, Jan 9, 2005 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
    It's not a issue on this end. The only way to stop getting the message would be to update it.
     
    digitalpoint, Jan 9, 2005 IP
  3. symetrix

    symetrix Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The code is exactly as it appears on the site:
    $ diff ad_network.php ad_network.php-just-taken-from-dp-dot-com
    $ md5sum ad_network.php
    0a65fd11b81a7ddfd8e66d0132c919a9  ad_network.php
    $ md5sum ad_network.php-just-taken-from-dp-dot-com
    0a65fd11b81a7ddfd8e66d0132c919a9  ad_network.php-just-taken-from-dp-dot-com
    $ grep array_merge ad_network.php
                                    if (count ($ads) > $ads_temp[3] + 1) $ads = array_merge ($ads[0], array_slice ($ads, -$ads_temp[3]));
    $
    
    Code (markup):
    Any other ideas? :eek:
     
    symetrix, Jan 9, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    What's the URL of the site?
     
    digitalpoint, Jan 9, 2005 IP
  5. symetrix

    symetrix Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    symetrix, Jan 9, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    It looks like at 11:00 am (PST) today it started requesting proper ads. It also doesn't look like the ad_network_ads.txt file was flushed at that time. You may want to delete the contents of the file and see what happens.
     
    digitalpoint, Jan 9, 2005 IP
  7. symetrix

    symetrix Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thats very wierd, i'm pretty sure I was still sawing logs at 11. :)

    However, I am still getting them.

    Here is the contents of my ad_network_ads.txt:
    1105325xxx|216.9.35.xx|us82jxxx|4xx|9xx|4<ad_break><a href="http://spyware.pcwash.com" />Spyware Remover</a><ad_break><a href="http://www.fantasyfootballjungle.com/" />Fantasy Football</a><ad_break><a href="http://www.zipwise.com/" />Zip Codes</a>
    Code (markup):
    (some items edited, since I don't know if they are sensitive or not.)
     
    symetrix, Jan 9, 2005 IP
  8. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #8
    Well I'm getting the same problem.
    I updated the files today, flushed teh ad_network_ads.txt, yet its not requesting any ads. The ad_network_ads.txt is staying at 0 bytes, so i'm guessing its not requesting.
    Yet on other websites I run i've done the same and the ads appear to be working fine.
    Any hints.suggestions on what can be wrong here?
     
    jfontestad, Jan 9, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    It looks like you flushed your cache (from the looks of it on this end anyway). You see anything in your cache about needing to update your code?
     
    digitalpoint, Jan 9, 2005 IP
  10. symetrix

    symetrix Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Nothing related in ad_network.php or ad_network_ads.txt. :confused:
     
    symetrix, Jan 10, 2005 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    Then you probably have another set of ad_network files. The ad that says your file needs to be updated will be cached into the ad_network_ads.txt file. So if you aren't seeing it in there, then I would check for another set of files on that machine.
     
    digitalpoint, Jan 10, 2005 IP
  12. symetrix

    symetrix Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I checked and it's the only copy on the entire server.

    After a day or so the ad in question showed up in my ad_network_ads.txt.

    :confused:
     
    symetrix, Jan 11, 2005 IP
  13. scdayton

    scdayton Well-Known Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #13
    I ask because I got an email from Digital Point telling me my ads weren't showing on one of my sites and I checked and I have the same error symetrix got yet I haven't even touched the site so I don't know why anything would change on it. I also copied over the top of the ad_network.php file with another copy of it, but know change.

    This shows in my source code on one of my pages:

    "<a href="http://www.digitalpoint.com/tools/ad-network/" />ad_network.php file needs updating</a>"

    Maybe the failure is temporary; I'll check my site again later, but in the mean time if anyone knows what causes this to happen and better yet what I need to do to get it working again I'd appreciate any suggestions you may have.

    Thanks,

    Stephen
     
    scdayton, Jan 12, 2005 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #14
    Flush your ad_network_ads.txt file... it would have the old message cached from before you updated your ad_network.php file.
     
    digitalpoint, Jan 12, 2005 IP
  15. scdayton

    scdayton Well-Known Member

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

    Ok I tried flushing the contents of that txt file and it just filled the new empty text file with the same error messages as before. I also tried completly deleting that file and uploaded a new one then CHMOD the file to 777 and again the same result.

    Could I try taking that txt file from another one of my sites that is working and place that on the failing site and see if that works or will that mess things up as each site might have it's own unique ID or something?

    Thanks,

    Stephen
     
    scdayton, Jan 13, 2005 IP
  16. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #16
    Did you check if you file had any of the messages in it after you flushed it? I'm showing the ad network server has not given one of those messages to your server in awhile. And has only been feeding good ads to you.
     
    digitalpoint, Jan 13, 2005 IP
  17. scdayton

    scdayton Well-Known Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #17
    Yes after uploading a blank file it then was filled with the same error message. Actually I think I'm about ready to just give up on this. I only had three sites using this program and now this morning the other two are producing the same errors and I hadn't touched any of them. Well I did try fixing one of them this morning and failed after uploading what I found on the digital netwok forum claiming to be a newer version of the php file and now I get no ads and no errors just blank space.

    I'm just out of ideas on what I can do at this point.

    -Stephen
     
    scdayton, Jan 15, 2005 IP
  18. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #18
    What's the URL of your site that you think it should be working properly on?
     
    digitalpoint, Jan 15, 2005 IP
  19. scdayton

    scdayton Well-Known Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #19
    I would think it would be working on all of them as I hadn't touched y of these domains when the ads suddenly stopped working. The one this morning that I tried a new ad_network.php file on was this site:

    http://www.cruise-ship-life.com/

    The others I just cleared out the txt file and uploaded it again and made sure it was CHMOD 777.

    Thanks,

    Stephen
     
    scdayton, Jan 15, 2005 IP
  20. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #20
    If you look in your page source, you can see your ad network code. Which means your server isn't evaluating it.
     
    digitalpoint, Jan 15, 2005 IP