Issue Bug Closed

#22926EM translation handling fails in 4.1.13

Wolfgang Zenker 06/18/10, 12:43 updated 10/02/18, 12:23

Description

The method fetchTranslationStatus() in /typo3/mod/tools/em/class.em_terconnection.php tries to submit the TYPO3 version used to the Extension repository by adding array(TYPO3_user_agent) to the getURL call since TYPO3 4.1.8. Unfortunately the constant TYPO3_user_agent is undefinded in TYPO3 versions up to and including 4.1.13. If your php is set to interpret undefinded constants as string, this results in an invalid request being sent to the repository and the fetching of the language file fails.

The problem does not exist in TYPO3 4.2.* and newer.

It can be fixed by adding a definition of TYPO3_user_agent to typo3/config_default.php, see attached patch

(issue imported from #M14777)

Reviews 0

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