Zum Inhalt springen

fehlermeldung beim update auf 4.5.2

Erstellt am 19. Mai 2011 · 1 Antwort · letzte Antwort am 19. Mai 2011

Tags: Frage

andres ·

guten tag
ich habe von 4.3 auf 4.5 upgedatet.
wenn ich im updatewizard «Install Outsourced System Extensions» und «Versioning and Workspaces»
ausführen will erhalte ich diese fehlermeldung:
Fatal error: Call to a member function includeLLFile() on a non-object in /home/httpd/vhosts/sub.visarte-zentralschweiz.ch/httpdocs/office/typo3_src/typo3/sysext/em/classes/install/class.tx_em_install.php on line 75

weiss jemand rat?
danke.
andré

andres ·

bei der recherche auf
http://www.typo3forum.net/forum/typo3-4-x-installation-updates/49989-update-4-4-6-4-5-0-bringt-fehler.html
habe ich folgenden beitrag von chrisio gefunden:
zitat
<<<
Ich hatte das gleiche Problem wie Zarathustra. Aus irgendeinem Grund wurde mir bei der Upgrade-Routine der Charset in die $GLOBALS["LANG"] geschrieben 🙁
$GLOBALS["LANG"] war mit dem Wert "de_CH.UTF-8" belegt. Folglich ist diese Variable nun nur noch ein String und kein Objekt mehr und daher gibts den Fehler.

=> Workaround

In Datei typo3_src-4.5.0/typo3/sysext/em/classes/install/class.tx_em_install.php im Konstruktor (ca. Zeile 72) zuerst $GLOBALS["LANG"] wieder als Objekt initalisieren:

public function __construct($parentObject = NULL) {
// *******************************
// $GLOBALS['LANG'] initialisation
// *******************************
$GLOBALS['LANG'] = t3lib_div::makeInstance('language');
$GLOBALS['LANG']->init($BE_USER->uc['lang']);
.....
}

Bei mir hats danach wunderbar geklappt.