t3lib_div - PATH_typo3 problem for localizations
I cannot exactly explain what was going on - it's strange...
t3lib_div has some functions to load locallang-files. If such a file has never been created/cached, it's going to be newly created. And this one uses the function t3lib_div::llXmlAutoFileName(...).
But: llXmlAutoFileName has some parts with "PATH_typo3" in it, and this definition isn't set in frontend at all.
The result: e.g. the german translation of indexed_search couldn't be fetched from typo3conf/l10n/de/indexed_search because of matching errors depending on a missing "PATH_typo3" definition.
The strange thing: If have TYPO3 sites, running 4.1beta2 and 4.0.4, where this doesn't occur - possibly there are extensions setting the PATH_typo3 or whatever...
(issue imported from #M4803)
#2 Updated by Oliver Hader about 13 years ago
#3 Updated by Oliver Hader about 13 years ago
Masi provided a patch for that on defining the constant PATH_typo3. Thanks Masi!
It was commited to svn trunk (see http://svn.t3.digitaldistrict.de/cgi-bin/trac.cgi/changeset/6441).