PHP warnings about file_get_contents and name resolution failures

  • Thread starter Thread starter NoTime
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
Science Advisor
Homework Helper
Messages
1,583
Reaction score
0
I got this block of error messages a few times today.
So if it helps, otherwise just delete this.

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss ) [function.file-get-contents]: failed to open stream: Success in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss ) [function.file-get-contents]: failed to open stream: Success in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss ) [function.file-get-contents]: failed to open stream: Success in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(294) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss ) [function.file-get-contents]: failed to open stream: Success in /includes/init.php(294) : eval()'d code on line 218
 
Last edited by a moderator:
Physics news on Phys.org
Yea, I personally LOVED the cheesegrater part. Nice touch.
 
Perhaps it's just a bug in cheesegrater.
Cheesegrater is a "screen scraper'' that can convert web sites into RSS/XML feeds. This is handy when there's a site you'd like to have an RSS version of, but the author of that site does not provide one.
http://www.jwz.org/cheesegrater/