the line of code that is causing the prob pingpressfm/pingPressFM2.php on line 493
I downloaded the pingpress plugin from wordpress.org - I entered my API Key in the option but when I turn the plug in on I get
Fatal error: Call to undefined function curl_init() in
function pingpressfm2_verify() {
// do the deed with ping.fm
$ch = curl_init(); ----> (LINE 493)
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_URL, 'http://api.ping.fm/v1/user.validate');
curl_setopt($ch, CURLOPT_POSTFIELDS, Array('api_key' => get_option('pingpressfm2_api_dev'), 'user_app_key' => get_option('pingpressfm2_api_user')));
$output = curl_exec($ch);
Fatal error: Call to undefined function curl_init() in
function pingpressfm2_verify() {
// do the deed with ping.fm
$ch = curl_init(); ----> (LINE 493)
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_URL, 'http://api.ping.fm/v1/user.validate');
curl_setopt($ch, CURLOPT_POSTFIELDS, Array('api_key' => get_option('pingpressfm2_api_dev'), 'user_app_key' => get_option('pingpressfm2_api_user')));
$output = curl_exec($ch);
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?I imagine the answer has been discovered by the user, but PingPressFM (along with most of the PHP-based Ping.fm plugins) uses the cURL module. So activate the module or have your host do it for you.
-
Inappropriate?Sorry - I hate it when people solve a problem and don't come back and say what it was - LOL
Yes turning curl on did the trick
I’m happy
Loading Profile...


