Zum Inhalt springen

Fehler bei Update 1.2 auf 2.0

Erstellt am 27. August 2015 · 1 Antwort · letzte Antwort am 28. August 2015

Tags: Update & Upgrade, Frage

vincentvega ·

Hallo,

ich versuche mich gerade an dem Update einer Neos-Installation von 1.2 auf 2.0. Dabei gibt es leider Probleme. Ich versuche das Update nach folgender Anleitung: https://www.neos.io/develop/download/upgrade-instructions-2-0.html

Funktioniert auch alles bis zu diesem Punkt:
# Ensure you have correct database charset/collation to prevent issues with foreign key constraints
./flow database:setcharset (bei mir: /usr/local/php-5.5/bin/php-cli ./flow database:setcharset).

Hier bekomme ich dann folgendes zurück:

PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /Pfad/zu/meiner/Installation/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php on line 270
Execution of subprocess failed with exit code 255 without any further output.
(Please check your PHP error log for possible Fatal errors)

Type: TYPO3\Flow\Core\Booting\Exception\SubProcessException
Code: 1355480641
File: Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php
Line: 528

Wenn ich das dann einfach erstmal ignoriere, dann kommt ein paar Zeilen später das Problem erneut auf...

./flow doctrine:migrate

Das einzige was ich dazu finde, war ein Eintrag, das es bei PHP < 5.5 zu dieser Fehlermeldung kommen solle. Das ist bei mir aber nicht der Fall. Weiß jemand was ich tun kann?

Grüße,

Vincent

vincentvega ·

Habe den Fehler gefunden. In der settings.yaml war unter phpBinaryPathAndFilename: noch ein Pfad auf eine PHP 5.4 gesetzt...nach Änderung auf 5.5 geht es nun an dieser Stelle weiter...