CheddarGetter/Client/CurlAdapter.php
Hi,
Can this warning be safely ignored:
PHP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set.
/CheddarGetter/Client/CurlAdapter.php on line 70
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jess Pendley on 12 Mar, 2014 01:42 PM
Hi Eric --
It would appear that you have safe_mode enabled and/or an open_basedir set in your php.ini file.
After taking a look at PHP.net I was able to find something that may help you here.
Jess Pendley closed this discussion on 12 Mar, 2014 01:42 PM.
Marc Guyer re-opened this discussion on 12 Mar, 2014 01:48 PM
Support Staff 2 Posted by Marc Guyer on 12 Mar, 2014 01:48 PM
Hi Eric -- That option is unnecessary. The API does not return any redirects. I imagine that the option was added just in case there happened to be a redirect response. Any redirect produced by the API should be considered a bug. To be strict, the option should probably be removed. You're more than welcome to remove it and issue a pull request or leave it and ignore the warning.
Jess Pendley closed this discussion on 12 Jun, 2014 03:47 PM.