PHP warning

curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set

/var/www/clients/client1/web6/web/protected/extensions/eoauth/EOAuthUtils.php(209)

Stack Trace

#0
+
 /var/www/clients/client1/web6/web/protected/extensions/eoauth/EOAuthUtils.php(209): curl_setopt(resource, 52, 1)
#1
+
 /var/www/clients/client1/web6/web/protected/extensions/eoauth/EOAuthUtils.php(109): EOAuthUtils::GetTokenFromUrl("https://api.twitter.com/oauth/request_token?oauth_callback=http%...")
104     $ch = curl_init($url);

105     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

106     curl_setopt($ch, CURLOPT_HEADER, 0);

107     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

108     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

109     $response = curl_exec($ch);

110     $headers = curl_getinfo($ch);

111     curl_close($ch);

112 

113     if ($headers['http_code'] != 200) {

114       throw new OAuthException($response);

#2
+
 /var/www/clients/client1/web6/web/protected/extensions/eoauth/EOAuthUserIdentity.php(231): EOAuthUtils::GetRequestToken(OAuthConsumer, "", "https://api.twitter.com/oauth/request_token", "Ural Student", ...)
2015-12-17 20:24:35 Apache/2.2.16 (Debian) Yii Framework/1.1.13