Why am I getting a “Call to undefined function curl_init()” when I try to use the Sociable plugin?

Is it your host?

Test if cURL is installed. If not: Go and talk to your host.

Here you got a small plugin. Drop it in your MU-Plugins folder and reload any page, or drop it into your plugins folder, activate it and then reload the page.

/* Plugin Name: _CHECK IF cURL INSTALLED */
function wpse61626_can_I_haz_cURL()
{
    if ( ! in_array ( 'curl', get_loaded_extensions() ) )
        echo '<img src="http://i.imgur.com/rAo4V.png" />';

    echo '<img src="http://i.imgur.com/vZY62.png" />';
}
add_action( 'shutdown', 'wpse61626_can_I_haz_cURL', 9999 );

Help(desk) available!

I send you one from my helpdesk stuff along with the plugin, to give you a better feedback. He’s called »Astro«, one of my best employees.

enter image description here

I don’t know where I got the image from, as I found it on my desktop. If you’re the author and don’t want it published here, please drop me or the moderators of this site a note and we’ll removed it asap. The same goes for adding credits. Thanks.

Important

No animals were hurt during writing this answer.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)