Help me with [function.fsockopen] issue…

Hi, hoping someone can help. The following error occurs on my WPMU site pretty much all over. It’s now starting to appear inside the widgets on the widget layout page.

Warning: fsockopen() [function.fsockopen]: unable to connect to twitter.com:80 in /home/cheeks/public_html/wp-includes/class-snoopy.php on line 1142

I can obviously determine that this is a failure to open a connection to Twitter on port 80, but I have two questions:

1 – what plugin is this originating from? So I can disable it and work around the issue

2 – why is it failing? Is it something I have to fix up on the server? or is there somewhere in WPMU that needs configuring? i.e. how can I fix it?

Thanks in advance,

Paul

  • James Farmer
    • Founder & Chair (honest)

    1 – what plugin is this originating from? So I can disable it and work around the issue

    I’m guessing it’s a Twitter one – have you tried disabling twitter related plugins one by one to see if that removes it?

    2 – why is it failing? Is it something I have to fix up on the server? or is there somewhere in WPMU that needs configuring? i.e. how can I fix it?

    It may well be related to your server config: http://php.net/manual/en/function.fsockopen.php

    Have you got another server / hosting account you can try with? Also, try asking yoru servers technical support.

  • drmike
    • DEV MAN’s Mascot

    Pity we’re on the public side.

    Looks like you’re using Alex King’s Twitter Tools. I’ll be polite and say that it has issues and shouldn’t be used on the wpmu platform. (And that’s being very polite)

    James released their version of the software for wpmu that they use on edublogs. I believe it still works. If you search the forums here for Twitter, you should find a download link.

    Hope this helps,

    -drmike