Issue Bug Closed

#22492Internal Server Error with SuPHP

Martin-Pierre Frenette 04/20/10, 16:33 updated 09/23/13, 10:37

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)

Reviews 0

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