Hey.
Also ich habe ein Update von 3.5. auf 4.4 gemacht.
Ging so vor wie Leo in einem seiner Video mal erklärt hat.
https://youtu.be/rwC8xfdO3Ao?t=816
- Install Contao 4
- SQL kopiert
- Templates + Files übernommen
( /contao_4/files | /contao_4/templates)
- Cache geleert
Nun erhalte ich folgenden Fehler.
Code:
[2019-03-11 16:16:08] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"home","_route":"contao_frontend"},"request_uri":"http://new.DOMAIN.at/home","method":"HEAD"} []
[2019-03-11 16:16:08] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2019-03-11 16:16:08] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"home","_route":"contao_frontend"},"request_uri":"http://new.DOMAIN/home","method":"GET"} []
[2019-03-11 16:16:08] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2019-03-11 16:16:08] app.CRITICAL: An exception occurred. {"exception":"[object] (Exception(code: 0): Could not find template \"a:2:{i:0;s:0:\"\";i:1;s:0:\"\";}\" at /www/htdocs/w01037f3/contao_4/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:152)"} []
Could not find template war mein erster Anhaltspunkt.
Also habe ich einfachheitshalber ein leeres Theme erstellt + leeres Seitenlayout, danach den Cache geleert.
Fehler bleibt der gleiche.
Code:
[2019-03-11 16:24:32] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"home","_route":"contao_frontend"},"request_uri":"http://new.DOMAIN.at/home","method":"HEAD"} []
[2019-03-11 16:24:32] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2019-03-11 16:24:32] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"home","_route":"contao_frontend"},"request_uri":"http://new.DOMAIN.at/home","method":"GET"} []
[2019-03-11 16:24:32] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2019-03-11 16:24:32] app.CRITICAL: An exception occurred. {"exception":"[object] (Exception(code: 0): Could not find template \"a:2:{i:0;s:0:\"\";i:1;s:0:\"\";}\" at /www/htdocs/w01037f3/contao_4/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:152)"} []
Schlußendlich hat dann nur geholfen, dass ich den Artikel neu gespeichert habe.
Nun möchte ich verhindern, dass ich alle Artikel und Elemente einzeln durchgehen muss.
Hatte jemand das gleiche Verhalten und hätte einen Tipp?
Liebe Grüße
Matthias
Lesezeichen