You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
cURLfollow on location functionality needs cannot be activated when safe_mode is enabled or an open_basedir is set, else the Kohana framework throws this error:
ErrorException [ Warning ]: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
cURLfollow on location functionality needs cannot be activated when safe_mode is enabled or an open_basedir is set, else the Kohana framework throws this error:
ErrorException [ Warning ]: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
There is a workaround in XmppPrebind.php:
// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) {
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
}
The text was updated successfully, but these errors were encountered: