Actions
Bug #17060
closedcurl_setopt error when fetching translations or extensions as of PHP 4.4.4/5.1.5
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2007-03-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since php version 4.4.4/5.1.5 CURLOPT_FOLLOWLOCATION is deactivated for security reasons when open_basedir or safe_mode are enabled.
In my opinion CURLOPT_FOLLOWLOCATION isn't really needed, since i tried to fetch different translations and extensions and everything worked.
To workaround this error message just change the following in the file class.t3lib_div.php in the t3lib directory of the source package:
Old typo3_src/t3lib/class.t3lib_div.php - Line 2330:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
Change to:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
(issue imported from #M5100)
No data to display
Actions