Im getting the following error when adding to this html site (Its a different site then I posted before) As you can see the ad still shows though, It just prints the error on the site Warning: fopen(ad_network_ads.txt): failed to open stream: Permission denied in d:\graftonwebdesign.com\wwwroot\ad_network.php on line 41 Warning: flock(): supplied argument is not a valid stream resource in d:\graftonwebdesign.com\wwwroot\ad_network.php on line 42 Warning: fclose(): supplied argument is not a valid stream resource in d:\graftonwebdesign.com\wwwroot\ad_network.php on line 47 [U]Seomaker[/U] Code (markup):
Your ad_network_ads.txt file need to be writeable. The ads will work without it being writeable, but your server will end up being automatically blocked by the ad server because of making excessive queries.
Hello, Up until two days ago everything was running fine. But suddenly I started getting: Warning: file_get_contents(http://ads.digitalpoint.com/network.php?s=www.airmp3.com&type=link): failed to open stream: Operation timed out in /home/airmp3/public_html/ad_network.php on line 36 Code (markup): I checked that my ad_network_ads.txt was still writeable and it is. Has my server been blocked or something? Please help. Thank you
Yeah, your server was blocked because it was not caching ads properly (making about 10 requests per second to the ad server 24/7).
Thanks for your answer. What may I do to make it work? I just checked my ad_network_ads.txt file and it's 10 kbs. It starts by 1104261000|216.9.35.51|us82jsdd<ad_break> and many sites' URL follow. Please help. Thank you
Are you using an up to date version of the ad_network.php file? Have you made any changes to it at all?
I updated it yesterday and did it again today just to be sure I have the latest version. I have made no changes to it.
Shawn, my footer is a .txt file. I put your code in there, I suspect this may be why ads aren't cached properly. May you please unban my site so I can test it out? Thank you
Yes it does. I'm not sure if it's okay to post it here? I'm very sorry if it's not. Please remove it if necessary. Here it is: <clip> I removed the end because of the 10K characters limit.
Something isn't right with it... There are no parameters at the beginning of the file. Try updating your ad_network.php file and see if it changes.
I just updated it. Apparently I already had the latest one. i'm using the text link code. I went to http://www.airmp3.com/test.php to test it. Since the site is blocked, I'm getting a timeout. Nevertheless, I flushed the old ad_network_ads.txt and found the following in the new one: 1104796741|216.9.35.51| . Does this help?
well there's no ad param tag... ? I now have three links. Before them, I have the following: 1104797070|216.9.35.51|us82jsdd|400|900|4|