CheddarGetter/Client/CurlAdapter.php

Eric Jenkins's Avatar

Eric Jenkins

12 Mar, 2014 12:38 PM

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

  1. 1 Posted by Jess Pendley on 12 Mar, 2014 01:42 PM

    Jess Pendley's Avatar

    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.

  2. Jess Pendley closed this discussion on 12 Mar, 2014 01:42 PM.

  3. Marc Guyer re-opened this discussion on 12 Mar, 2014 01:48 PM

  4. Support Staff 2 Posted by Marc Guyer on 12 Mar, 2014 01:48 PM

    Marc Guyer's Avatar

    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.

  5. Jess Pendley closed this discussion on 12 Jun, 2014 03:47 PM.

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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM