Forums

[Plugin: Tweetbacks] class-snoopy.php error (6 posts)

  1. jurisnipper
    Member
    Posted 3 years ago #

    If the Tweetbacks plugin is activated, I can see this error on the bottom (below the footer) on each post:

    Warning: fsockopen() [function.fsockopen]: unable to connect to tr.im:80 (Connection timed out) in /home/folder/public_html/folder2/wp-includes/class-snoopy.php on line 1142

    If I deactivate the Tweetbacks plugin, the error goes away.

    I've never seen said error before.

    The Tweetbacks plugin appears to work just fine.

    Any ideas?

  2. lleger
    Member
    Posted 3 years ago #

    I'm having this error as well. I think it might be a conflict with another plugin or something, but I haven't investigated it yet.

    Maybe the plugin author or some other could shed some insight?

  3. freekrai
    Member
    Posted 3 years ago #

    Set up a file called phpinfo.php on your site,
    in that file include these lines:
    <? phpinfo(); ?>

    and run that in your browser, see if the variable "allow_url_fopen" is set to on or off.

    There is a possibility that it is set to off, and besides, that plugin should have been using curl (I modified my copy for curl to prevent that issue)

  4. lleger
    Member
    Posted 3 years ago #

    That was definitely it for me. "allow_url_fopen" is set to off. Which is good--security reasons.

    I guess modifying it to cURL is the best option.

  5. Elpie
    Member
    Posted 3 years ago #

    This error will occur if allow_url_fopen is off on the server, or if Twitter is not responding.

    If allow_url_fopen is disabled on your server, modify the plugin to use cURL. If Twitter is down there isn't much you can do about that.

    It would, however, be good to see the plugin output something prettier instead of this error for those times when Twitter doesn't respond.

  6. Joost de Valk
    Member
    Posted 3 years ago #

    This happened because tr.im wasn't responding. Please update to 1.4.4 or later, where this is issue has been resolved (by removing support for tr.im, as they requested).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags