Export to GitHub

php-twitter - issue #5

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated


Posted on Oct 20, 2008 by Grumpy Hippo

What steps will reproduce the problem? 1. enable php safe_mode or set open_basedir 2. run code with error_reporting set to E_ALL

What is the expected output? What do you see instead? expected no errors ;) seen...

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in class.twitter.php on line 432

What version of the product are you using? On what operating system? 1.0beta Linux

Please provide any additional information below. if you add the error suppressor at the start of line 432 the error wont appear. so it becomes; @curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);

Comment #1

Posted on Feb 28, 2009 by Happy Monkey

r69 fixes. Thanks

Status: Fixed

Labels:
Type-Defect Priority-Medium