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 #1

Updated by Franz Holzinger over 16 years ago

You will find the lines of code to change in t3lib_div.

Actions #2

Updated by Johannes Pieper about 16 years ago

Write the patch ;)

Actions #3

Updated by Kristian Domke almost 16 years ago

As far as I can see, the patch is there. Can we hope it will be applied? It is still annoying in 4.2.3

Actions #4

Updated by Benni Mack over 14 years ago

This cannot be displayed to the user! I suggest to write it to devLog or to some other debug console. Please provide an updated patch for that.

Actions #5

Updated by Tolleiv Nietsch over 13 years ago

  • Category deleted (Communication)
  • Status changed from Needs Feedback to Closed
  • Target version deleted (0)

Closing that for the sake of a clean bugtracker - feel free to reopen once you're able to provide new input.

Actions

Also available in: Atom PDF