hugofirth / laravel-mailchimp

A composer package for the MailChimp API PHP class (as provided by MailChimp) which supports the Laravel 4 framework.
96 stars 27 forks source link

Call to undefined function curl_init() #26

Closed dud3 closed 10 years ago

dud3 commented 10 years ago

I'm Basically using:

MailchimpWrapper::lists()->subscribe("...", array('email' => $data['email']));

I get the error of:

{"error":
  {
    "type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException",
    "message":"Call to undefined function curl_init()",
    "file":"\/home\/ubuntu\/dev2.mymxlog.com\/vendor\/mailchimp\/mailchimp\/src/Mailchimp.php",
    "line":156
  }
} 

Could you please help me ?

Thanks.

frankkoornstra commented 10 years ago

Curl's not installed... http://bit.ly/1rSBqB3

dud3 commented 10 years ago

@frankkoornstra The wired thing is that, I used it before, and didn't give me the same error, only after I updated the laravel framework to 4.1.*, wired ?

frankkoornstra commented 10 years ago

In any case, I don't think it's really related to this repo :) Maybe create a page with phpinfo(); and see if curl's installed.

dud3 commented 10 years ago

Yeah your right, sorry for opening the Issue, thanks.