Project

General

Profile

Actions

Bug #16600

closed

CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set

Added by Schmid Valentin almost 18 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-09-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since uprgrading from 4.0.0 to 4.0.2 I noticed a lot of warnings in my php-error-log.
The warning looks like this:
PHP Warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /..../typo3_src-4.0.2/t3lib/class.t3lib_div.php on line 2322

I think the option CURLOPT_FOLLOWLOCATION should be set optional by a configuration parameter.

My php version is 5.1.6 and open_basedir is set

Workaround: uncomment the line 2322 in class.t3lib_div.php
or set it like the following
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);

(issue imported from #M4292)


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
Actions

Also available in: Atom PDF