Hallo,
ich muss leider um Hilfe bei einer Contao 4.4 Installation bitten, welche aus diversen Gründen gerade nicht auf 4.9 upgedatet werden kann (leider aktuell kein Budget für das Update von metaModels vorhanden).
Wäre sehr dankbar falls dennoch jemand einen Rat hätte was man versuchen kann, da der Hut brennt.
Contao 4.4.57
PHP 7.3
Provider Alfahosting
U.a. sind Isotope, Metamodels und die MM2Isotope Bridge installiert, also eine doch recht komplexe Installation.
Und zwar wirft das error.log aktuell folgendes aus:
Code:
app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): You have requested a non-existent service \"contao.csrf.token_manager\". Did you mean this: \"security.csrf.token_manager\"? at /var/www/web/html/project/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:348)"} []
Habe dazu gar nichts im Zusammenhang mit Contao finden können, nur ein Github Eintrag bei Symfony.
Der Fehler wird geworfen wenn man versucht in Isotope auf /checkout/review zu gehen. Es wirkt aber eher so wie wenn es kein Isotope Fehler an sich ist, deshalb habe ich das auch nicht in diesem Forum gepostet (bitte verschieben falls das falsch war).
Weiters werden noch folgende Meldungen geworfen:
Code:
[2022-04-05 22:30:20] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"bundles/heimrichhannotcontaomulticolumneditor/contao-multi-column-editor-bundle.js","_route":"contao_catch_all"},"request_uri":"https://www.xy.at/bundles/heimrichhannotcontaomulticolumneditor/contao-multi-column-editor-bundle.js","method":"GET"} []
[2022-04-05 22:30:20] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2022-04-05 22:30:20] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: https://www.xy.at/bundles/heimrichhannotcontaomulticolumneditor/contao-multi-column-editor-bundle.js" at /var/www/we/html/xy/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: https://www.xy.at/bundles/heimrichhannotcontaomulticolumneditor/contao-multi-column-editor-bundle.js at /var/www/web/html/xy/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: https://www.xy.at/bundles/heimrichhannotcontaomulticolumneditor/contao-multi-column-editor-bundle.js at /var/www/web/html/xy/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
[2022-04-05 22:30:21] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/modules/pct_customelements/assets/img/new_set.gif","_route":"contao_catch_all"},"request_uri":"https://www.xy.at/system/modules/pct_customelements/assets/img/new_set.gif","method":"GET"} []
[2022-04-05 22:30:21] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2022-04-05 22:30:21] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: https://www.xy.at/system/modules/pct_customelements/assets/img/new_set.gif" at /var/www/web/html/xy/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: https://www.xy.at/system/modules/pct_customelements/assets/img/new_set.gif at /var/www/web/html/xy/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: https://www.xy.at/system/modules/pct_customelements/assets/img/new_set.gif at /var/www/web/html/xy/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
Das einzige was m.W.n. vor kurzem gemacht wurde war ein composer Update, da es Probleme im Contao Manager gab.
Hier auch die composer.json falls das aufschlussreich ist:
Code:
{
"type": "project",
"require": {
"christianbarkowsky/contao-tiny-compress-images": "^1.0",
"contao-bootstrap/bundle": "^2.1",
"contao/calendar-bundle": "4.4.*",
"contao/comments-bundle": "4.4.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.4.*",
"contao/listing-bundle": "4.4.*",
"contao/manager-bundle": "4.4.*",
"contao/news-bundle": "4.4.*",
"contao/newsletter-bundle": "4.4.*",
"external/ext-packages": "^1.0",
"heimrichhannot/contao-loginredirects-bundle": "^1.0",
"hofff/contao-shariff": "^3.0",
"isotope/isotope-core": "2.5.16",
"metamodels/attribute_isotopebaseprice": "dev-master as 1.0",
"metamodels/attribute_isotopeprice": "dev-master as 1.0",
"metamodels/attribute_isotopeshippingweight": "dev-master as 1.0",
"metamodels/bundle_all": "^2.1",
"metamodels/isotope-bridge": "dev-master as 1.0",
"richardhj/isotope-klarna-checkout": "^1.0@alpha",
"terminal42/contao-ajaxform": "^1.1",
"terminal42/contao-changelanguage": "^3.1",
"terminal42/contao-mailusername": "^1.0"
},
"repositories": [
{
"type": "composer",
"url": "https://token:token-ausgeblendet@packages.cyberspectrum.de/r"
},
{
"type": "path",
"url": "src/ext-packages"
}
],
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}