Issue Bug Closed

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

Manuel Cramer 03/01/07, 13:03 updated 02/22/08, 14:27

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.