jacquagnui / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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);

Original issue reported on code.google.com by douga...@gmail.com on 20 Oct 2008 at 8:37

GoogleCodeExporter commented 8 years ago
r69 fixes. Thanks

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 2:16