I updated to the newest co-op code last night and have been getting heaps of site failures. Basically looks like co-op is timing out ? Any way to fix so co-op doesnt kill my site when it dies, or is this something I have wrong at my end ? Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/httpd/vhosts/domainname.com/httpdocs/ad_network.php on line 9 Warning: fsockopen(): unable to connect to ads.digitalpoint.com:80 in /home/httpd/vhosts/domainname.com/httpdocs/ad_network.php on line 9 Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/domainname.com/httpdocs/ad_network.php on line 10 Warning: feof(): supplied argument is not a valid stream resource in /home/httpd/vhosts/domainname.com/httpdocs/ad_network.php on line 11 Warning: fread(): supplied argument is not a valid stream resource in /home/httpd/vhosts/domainname.com/httpdocs/ad_network.php on line 12 Code (markup):
Not sure why, but looks like your server isn't able to resolve the IP address of the ad network server.
Seems like a few sites have the same problem http://www.google.com/search?q=unab...ang_en&newwindow=1&c2coff=1&safe=off&filter=0
Looks like the code has no checks if handle was successfully created by fsockopen function. Look at www.php.net/manual/en/function.fsockopen.php for a good example.