Zum Inhalt springen

tt_products locallang.php nicht vorhanden, aber locallang.xml

Erstellt am 7. August 2006 · 4 Antworten · letzte Antwort am 8. August 2006

Tags: Frage

flashga ·

hallo!

ich habe das problem, dass wenn ich einen neuen inhalt erzeugen will folgende fehlermeldungen kommen:
Warning: includelocallang(/home/www/ww9397/html/typo/typo3conf/ext/tt_products/locallang.php): failed to open stream: No such file or directory in /home/www/ww9397/html/typo/typo3conf/ext/tt_products/class.tx_ttproducts_wizicon.php on line 68

Warning: includelocallang(/home/www/ww9397/html/typo/typo3conf/ext/tt_products/locallang.php): failed to open stream: No such file or directory in /home/www/ww9397/html/typo/typo3conf/ext/tt_products/class.tx_ttproducts_wizicon.php on line 68

Warning: includelocallang(): Failed opening '/home/www/ww9397/html/typo/typo3conf/ext/tt_products/locallang.php' for inclusion (include_path='.:/usr/share/php') in /home/www/ww9397/html/typo/typo3conf/ext/tt_products/class.tx_ttproducts_wizicon.php on line 68

in dem genannten verzeichnis ist tatsächlich keine locallang.php zu finden, sondern nur eine locallang.xml

was nun? )

vielen dank schonmal!!!

flashga ·

also ich hab tt_products ver. 2.5.0 installiert.
naja, ich werde morgen mal versuchen die zeile anzupassen :o)

vielleicht funktioniert es ja.

danke!

flashga ·

sooo...habs geändert. jetzt kommt folgende fehlermeldung:

Parse error: syntax error, unexpected T_STRING in /home/www/ww9397/html/typo/typo3conf/ext/tt_products/locallang.xml on line 1

line 1 sieht wie folgt aus:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>

ich krieg ne krise 😃

flashga ·

also ich hab noch was gefunden:

if ($typoVersion >= 3008000) {
$LOCAL_LANG = $GLOBALS['LANG']->includeLLFile(PATH_BE_ttproducts.'locallang.xml',FALSE);
} else {
include(PATH_BE_ttproducts.'locallang.php');
}
return $LOCAL_LANG;

ja is ja schön und gut. der nimmt also locallang.php anstatt locallang.xml, weil typoversion >= 3008000 ist...

aber ne locallang.php ist halt nicht dabei. hat jemand ne ahnung, wo ich die herbekomme?!