Ich habe eine Contao-Installation von 4.4.2x auf 4.4.33 aktualisiert. Im Manager und Install-Tool soweit alles gut und schön, Cache aktualisiert. Backend-Login-Maske ist aufrufbar, beim Login erhalte ich aber dann die Fehlermeldung:
Irgendwelche Ideen? Die Suche gibt dazu nichts her, das Log spuckt aus:Internal Server Error
You have requested a non-existent service "contao.assets.files_context".
Dann habe ich ein Downgrade auf 4.4.29 probiert, erhalte dort dann aber eine Fehlermeldung, wenn ich mich in das Install-Tool einlogge. Das Log sagt:[2019-01-24 08:27:09] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exceptio n\\ServiceNotFoundException(code: 0): You have requested a non-existent service "contao.assets.files_context". at /home/rokalaph/public_html/contao-4-4/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:348)"} []
Irgendeine Idee? (Frontend funktioniert übrigens)[2019-01-24 08:37:36] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\SyntaxErrorException(c ode: 0): An exception occurred while executing 'SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'rokalaph_contao4' AND TABLE_NAME = 'tl_layout' ORDER BY ORDINAL_POSITION ASC AND COLUMN_NAME = 'sections'':\n\nSQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND COLUMN_NAME = 'sections'' at line 1 at /home/rokalaph/public_html/contao-4-4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:79, Doctrine\\DBAL\\Driver\\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND COLUMN_NAME = 'sections'' at line 1 at /home/rokalaph/public_html/contao-4-4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:90, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND COLUMN_NAME = 'sections'' at line 1 at /home/rokalaph/public_html/contao-4-4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:88)"} []
[Ich habe die Installation dann geklont und parallel auf die aktuelle 4.6.x aktualisiert. Das hat soweit funktioniert, das Frontend allerdings erst, nachdem ich die Erweiterung [navigation-image], die in anderen Contao 4.4 / 4.6-Installationen klaglos funktioniert, deaktiviert habe; offenbar stört sich Contao dort an der Funktion \PictureCreate, die im Template verwendet wird ...]
Lesezeichen