Project

General

Profile

Actions

Bug #18680

closed

Update of Languages in Translation Handling -> Failure in Error Handling

Added by Malte Jansen about 16 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2008-04-23
Due date:
% Done:

0%

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

Description

Version 4.2.0!
I wanted to update the language.
But for half of packages the updates failed.
But after a syncronization. There where not updates available and it's not possible to update them again.
(I'm not sure, if the lang-files were updated or not.)

(issue imported from #M8216)


Files

bug_8216.diff (2.07 KB) bug_8216.diff Administrator Admin, 2009-07-28 17:06
Actions #1

Updated by Alban Cousinie almost 16 years ago

Manually deleting files named l10n.zip located in /typo3temp allows running the update again. However it may end with the very same result as with first run : failure to update translation.
I just had the very same problem : translation zip files were correctly downloaded on the server and appeared in /typo3temp, but were not properly extracted into /typo3conf/l10n

This was due to the fact my server lacked the /usr/bin/unzip binary. Unfortunately I had no root access and I couldn't install unzip, but I contacted the administrator who installed it for me and it has fixed the problem.

Relying on phpMyAdmin zip/unzip PHP scripts for extracting translation files would permit to circumvent this problem since some Linux distributions don't come with unzip preloaded. It would likely affect unzipping performance though.

Also the error reported by the translation manager has not been of any help for solving this problem : it would only report "ERR" instead of saying it couldn't unzip.

Actions #2

Updated by Michael Stucki almost 15 years ago

Please try the attached patch which solves various issues:
- During update, it is not checked whether or not the directory typo3conf/l10n/[lang]/[extKey]/ exists
- At some sites (at least here) someone mistakenly set $TYPO3_CONF_VARS[BE][unzip_path] to the parent directory but not to the real program (as expected). Therefore, check if the program is a file.
- Update sysLog entries if something goes wrong (and use t3lib_div constants for specifying the severity)

Actions #3

Updated by Anja Leichsenring about 11 years ago

  • Status changed from Accepted to Rejected
  • Target version deleted (0)

Language Handling has been moved to seperate module.

Actions

Also available in: Atom PDF