Project

General

Profile

Actions

Bug #22492

closed

Internal Server Error with SuPHP

Added by Martin-Pierre Frenette over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In the Extension manager, the lines with the TYPO3_user_agent cause a "Premature End of Script Headers" on SuPHP.

This doesn't seem to occur on all SuPHP servers.

Here is an example line of code causing the problem :

class.em_terconnection.php, line 72 :

$t3x = t3lib_div::getURL($mirrorURL, 0, array(TYPO3_user_agent));

If the line is changed to :

$t3x = t3lib_div::getURL($mirrorURL, 0); //, array(TYPO3_user_agent));

Everything works, but of course, the TYPO3_user_agent isn't transmitted.

(issue imported from #M14166)

Actions

Also available in: Atom PDF