What is this warning?

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/xxx.xxx/public_html/experimental/inc/utils.inc.php on line 1021

Been fighting working with D7 but finally doing it today.  Why am I getting that on the install?  It's a subdomain install for testing and junk.

Quote · 14 Feb 2011

See this topic.

http://www.boonex.com/unity/forums/#topic/CURL-Error.htm

https://www.deanbassett.com
Quote · 14 Feb 2011

By commenting out line 1021:

 

$sResult = '';
    if(function_exists('curl_init')) {
        $rConnect = curl_init();

        curl_setopt($rConnect, CURLOPT_URL, $sFileUrl . $sParams);
        curl_setopt($rConnect, CURLOPT_HEADER, 0);
        curl_setopt($rConnect, CURLOPT_RETURNTRANSFER, 1);
        //curl_setopt($rConnect, CURLOPT_FOLLOWLOCATION, 1);

 

Problem is resolved.  Or is it?  Time will tell. 

Thanks for the heads up on that one Deano.  Off to break it in some other places now.  Bahahahaha....

Quote · 14 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.