Liste der Anhänge anzeigen (Anzahl: 1)
Install-Tool nicht ausführbar nach Update in Contao Manager
Nach einem erfolgreichen Package Update im Contao Manager kann ich das Install-Tool nicht mehr ausführen. Siehe Screenshot und Fehlermeldung aus var/logs:
[2018-12-19 06:23:49] 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 = 'MatthiasKrebsDb' 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 C:\\Projects\\testsite\\vendor\\doctrine\\dbal\\li b\\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 C:\\Projects\\testsite\\vendor\\doctrine\\dbal\\li b\\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 C:\\Projects\\testsite\\vendor\\doctrine\\dbal\\li b\\Doctrine\\DBAL\\Driver\\PDOConnection.php:88)"} []
Kann mir jemand helfen?
Anhang 21702
Liste der Anhänge anzeigen (Anzahl: 1)
Gemäss Angabe im Backend ist die Contao-Version 4.5.14 - siehe Anhang 21706
Das composer.json sieht so aus
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^7.1",
"contao/calendar-bundle": "^4.5",
"contao/comments-bundle": "^4.5",
"contao/faq-bundle": "^4.5",
"contao/listing-bundle": "^4.5",
"contao/manager-bundle": "4.5.12",
"contao/news-bundle": "^4.5",
"contao/newsletter-bundle": "^4.5"
},
"config": {
"component-dir": "assets"
},
"extra": {
"branch-alias": {
"dev-4.5": "4.5.x-dev"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
},
"conflict": {
"doctrine/dbal": "2.9.1"
}
}
Liste der Anhänge anzeigen (Anzahl: 3)
Vielen Dank fürs Helfen.
Zitat:
Zitat von
mlweb
... Und nach dem Eintrag hast Du auch auf "Pakete aktualisieren" geklickt, wie mehrfach hier im Forum vermerkt - u.a. auch in diesem Thread...
Genau, ich habe nach dem Eintrag versucht via Contao Manager unter Packages (siehe Anhang 21707Anhang 21707) die Pakete zu aktualisieren Die Aktualisierungen laufen scheinber auch gut durch, am Ende kommt jeweils ein Screen mit OK (in grün) und der Aufforderung die DB zu aktualsieren. Dies ist dann das was scheitert.
Im Contao Manager unter Packages sehe ich gerade, dass auf die Version 4.5.12 geupdatet werden könnte -> Anhang 21708
Dies obwohl im Contao Backend die Version bereits bei 4.5.14 ist -> Anhang 21709
Wie ist dies zu verstehen?