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); }