PHP Error: File Get Contents Failed

  • Thread starter Thread starter jim mcnamara
  • Start date Start date
AI Thread Summary
A PHP error related to file_get_contents() has been reported across multiple PCs, indicating a temporary failure in name resolution and connection timeouts when trying to access certain feeds. Users have experienced these issues intermittently over a couple of days, but many noted that the problem seemed to resolve itself without intervention. The error is attributed to the unavailability of the feed rather than issues on the user’s end. Suggestions were made to implement a default message indicating that feeds are temporarily unavailable. Overall, the consensus is that the issue is likely related to external feed availability rather than local network problems.
jim mcnamara
Mentor
Messages
4,789
Reaction score
3,852
Code:
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Greg and/or Warren -

php has a problem. A raft of these errors have shown up on several different PC's on completely unrelated networks. Been seeing it for two days. I'm betting you know about it... anyway, you do now for sure.
 
Physics news on Phys.org
I just got it on the index page. At least they were fast-loading errors on the new server. :biggrin:
 
disabling the rss hack until I figure it out
 
Warning: file_get_contents(http://feeds.feedburner.com/FeedPalooza/APOD ) [function.file-get-contents]: failed to open stream: Connection timed out in /includes/init.php(319) : eval()'d code on line 218

Warning: file_get_contents(http://feeds.feedburner.com/FeedPalooza/APOD ) [function.file-get-contents]: failed to open stream: Connection timed out in /includes/init.php(319) : eval()'d code on line 218

Warning: file_get_contents(http://feeds.feedburner.com/FeedPalooza/APOD ) [function.file-get-contents]: failed to open stream: Connection timed out in /includes/init.php(319) : eval()'d code on line 218

Warning: file_get_contents(http://feeds.feedburner.com/FeedPalooza/APOD ) [function.file-get-contents]: failed to open stream: Connection timed out in /includes/init.php(319) : eval()'d code on line 218

This and trouble with connectivity. Any one else having trouble connecting?
 
Last edited by a moderator:
ditto on both counts. "Feature" of today :-p .
 
Gokul43201,the identical problem and message here .
Started today.
What's going on?
 
Greg Bernhardt said:
seems to have corrected itself
Yup,It's gone.
Maybe the forum becomes "selfaware"...Bits of the artificial intelligence build from big concentration of bright minds visting this site.
:smile: :smile:
 
Greg Bernhardt said:
seems to have corrected itself
I was always pretty nervous when my network glitches fixed themselves.
 
  • #10
turbo-1 said:
I was always pretty nervous when my network glitches fixed themselves.

The error is not on your or our end. That error is when is a feed is for whatever reason unavailable. Usually they get the feeds back online quickly.
 
  • #11
Greg Bernhardt said:
The error is not on your or our end. That error is when is a feed is for whatever reason unavailable. Usually they get the feeds back online quickly.

Are you able to except the error, and put some sort of default "feeds are temporarily unavailable at the moment" message?
 

Similar threads

Replies
3
Views
6K
Replies
5
Views
4K
Replies
4
Views
2K
Replies
5
Views
3K
Replies
10
Views
2K
Replies
4
Views
3K
Replies
65
Views
10K
Back
Top