Issue Bug Closed

#84818Cannot install languages in v9 when var is not in typo3temp

Philipp Kerling 04/20/18, 18:12 updated 10/02/18, 10:47

Description

I have a normal 9.2 installation in composer mode. I cannot install any language packs in the backend. Updating will show all language packs as being “not available.”

The problem seems to be here:

https://github.com/TYPO3/TYPO3.CMS/blob/395d5efb61332e2f4380eaac93a14d61b1785961/typo3/sysext/install/Classes/Service/LanguagePackService.php#L255

$absolutePathToZipFile is within the var path, but writeFileToTypo3tempDir requires the path to be inside PATH_site."typo3temp/". For composer installations or when TYPO3_PATH_APP is set manually, var is not inside typo3temp any more since 9.2, so writeFileToTypo3tempDir cannot be used here.

Reviews 1