mailchimp / OAuth2-sample-apps

Archived: Sample apps to work with MailChimp's Oauth2 service.
https://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/
38 stars 21 forks source link

CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set #1

Open michaelphipps opened 13 years ago

michaelphipps commented 13 years ago

I get the error CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set when complete.php receives a response from MailChimp (the error occurs in OAuth2Client.php on line 504.)

By setting CURLOPT_FOLLOWLOCATION => FALSE, on line 246 I was able to work around this error. I'm wondering if FOLLOWLOCATION is required for the code to work properly?

bitadvisor commented 11 years ago

Same question here... Anyone?