Project

General

Profile

Actions

Bug #17060

closed

curl_setopt error when fetching translations or extensions as of PHP 4.4.4/5.1.5

Added by Manuel Cramer over 17 years ago. Updated over 16 years ago.

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #17479: Alert in FE: "...CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir..."ClosedMartin Kutschker2007-07-17

Actions

No data to display

Actions

Also available in: Atom PDF