Every once in a while I am getting error messages like this: fsockopen(): unable to connect to ads.digitalpoint.com:80 in /home/xxxxxx/public_html/ad_network_254.php on line 7 Code (markup): or this fclose(): supplied argument is not a valid stream resource in /home/xxxxxx/public_html/ad_network_254.php on line 21 Code (markup): So far I am ignoring them. I am just wondering if there will be any implications on my weight rating or anything else?
Yeah, that would be a problem... you would want to check with your server admin and see if they block it for some reason.
What do you mean by that? Actually I think the problem is only showing up once in a while. The ads always look o.k. to me. I see this in my logs only, but nowhere near as often as I am on the website. I guess you are refering to adblockers? Maybe a user is using an adblocker that reacts to ads.digitalpoint.com ?
ad blocker should not effect it. as it is serverside. if its only sometimes then maybe could try adding a a check to see if the connection was made if not try again.(check once or twice and if cant make connection just carry on)
Thanks Matteh, I guess the impact on my weight should be small (unless it happens when the dp spider visits). I don't want to load my site with too much php to keep CPU resources low. Haven't seen it until yesterday. If it shows up again, I will consider this fix. Can you point me towards some example?
not any example code sorry was just a random idea hehe might not even fix it. i had a look at coop network code and i dont understand it very well so cant help sorry