WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Fan Box Cache
function.file-get-contents - php_network_getaddresses: getaddrinfo failed (4 posts)

  1. stewartlever
    Member
    Posted 1 year ago #

    Hi,

    Just got this issue this morning. Clearing the cache reproduces the issue.

    Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /XXX/XXX/public_html/site/wp-content/plugins/facebook-fan-box-cache/facebook-fan-box-cache.php on line 330

    Warning: file_get_contents(http://profile.ak.fbcdn.net/hprofile-ak-snc7/373087_206415666070142_1612616243_q.jpg) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /XXX/XXX/public_html/site/wp-content/plugins/facebook-fan-box-cache/facebook-fan-box-cache.php on line 330

    http://wordpress.org/extend/plugins/facebook-fan-box-cache/

  2. Donald Gilbert
    Member
    Plugin Author

    Posted 1 year ago #

    Which version of the plugin are you using?

    The reason you get the issue each time the cache is cleared is that file_get_contents is only called when generating the local cached version, so you would only see it when a new cache is being generated.

  3. stewartlever
    Member
    Posted 1 year ago #

    version 2.5

    Ok so this won't be an issue each time the cache cycles ie every hour ?

  4. Donald Gilbert
    Member
    Plugin Author

    Posted 1 year ago #

    It's not a major issue. What I can't figure out is why it is erroring. The file it's trying to load does exist, it's just the getaddrinfo function is failing, so it doesn't know where to route the remote request. It may be an issue with your hosting environment.

    I'll look into possible solutions when I get a chance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic