-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURLOPT_FOLLOWLOCATION & open_basedir #10
Comments
Hi @Rikless To be honest I haven't encountered this issue myself and so have no sure fire way to cope with it. Apologies if that wasn't what you were hoping for :( |
Hey, I have the same problem on PHP 5.4.10, just wondering if there is a workaround of any sort? |
Seems like using 2.0.4 mailchimp package instead fixes it. Add this to your composer.json: |
Hi @nikbora & @kyrpas I see that the latest tagged release of the mailchimp/mailchimp package is 2.0.5. If reverting back solves your issue then by all means do it for now, but obviously this isn't ideal. If there really is a regression (2.0.5 re-introduced a bug which 2.0.4 fixed) then if you report the bug to mailchimp hopefully it will get fixed fairly promptly. Cheers |
That is right, mailchimp 2.0.5 seems to break in a different way as it It causes an 'ErrorException' with message 'Undefined index: On Thu, Jun 12, 2014 at 11:05 AM, Hugo Firth notifications@github.com
|
I have encountered the same issue. "Undefined index: CURLOPT_FOLLOWLOCATION" Will report to Mailchimp. |
@psybaron do you fix this issue? |
You can put mailchimp/mailchimp 2.0.3 as an extra package in composer.json
|
thank you Brbora :D On Thu, Jun 12, 2014 at 11:38 PM, Nik Brbora notifications@github.com
|
@nikbora how in your usage does 2.0.3 throw up any other bugs? I'm considering tagging a bug fix release with the hard dependency on that earlier version, and then tagging another release reverting back to the way it is now when Mailchimp tag a release which includes a bug fix for this issue. |
Hey Hugo, we have been running with mailchimp 2.0.3 with no issues or bugs. On Wed, Jun 18, 2014 at 5:34 PM, Hugo Firth notifications@github.com
|
@hugofirth I switched this morning to 2.0.3, and no issue as well. Though I only use the API to add new registrants to a list. |
@nikbora & @psybaron Ok - I'll give it till the morning for some testing and for others to chime in, and then tag a release then. I appreciate the input. |
In 2.0.4 this bug was present, and in 2.0.5, it's still there. In 2.0.4, to get a functional application, I commented this line in : curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true); In 2.0.5, after a composer update, I had to comment in the same file : if ($opts['CURLOPT_FOLLOWLOCATION'] === true) {
curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
} I've reported this issue since many times to mailchimp group, but even if code has change, issue isn't solved. |
Using < PHP5.4 and with open_basedir set I get the following error:
This is a Mailchimp library issue, but i would be happy to know how laravel-mailchimp users get around this issue.
For now, I've commented the bad line in mailchimp lib, but it's a quick fix.
On < PHP5.4, there is no safe_mode so you can't fill in this condition :
The text was updated successfully, but these errors were encountered: