Project

General

Profile

Actions

Bug #19241

closed

no details with error message 'is no TYPO3 language file'

Added by Franz Holzinger over 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-08-21
Due date:
% Done:

0%

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

Description

If you have edited a locallang.xml file, then you do not get any details about the reason.

You only see the line
The file "/var/www/html/typo3/ext.../locallang.xml" is no TYPO3 language file!

and the frontend has completely gone.

My proposal is to add the details:

die('The file "'.$fileRef.'" is no TYPO3 language file! '.$xmlContent);

And you will see

The file "/var/www/html/typo3/ext/.../locallang.xml" is no TYPO3 language file! Line 56: Undeclared entity error
(issue imported from #M9206)


Files

patch_9206_1.diff (576 Bytes) patch_9206_1.diff Administrator Admin, 2008-09-26 18:17
patch_9206_2_for_V4-2-3.diff (595 Bytes) patch_9206_2_for_V4-2-3.diff Administrator Admin, 2008-12-02 11:13

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16144: Fatal php error during BE Login when a l10n xml file is faultyClosed2006-05-13

Actions
Actions

Also available in: Atom PDF