[coverpicture] war tatsächlich händisch installiert. Jetzt habe ich das Modul-Verzeichnis auf dem Server gelöscht und die Erweiterung über den Manager installiert. Das funktioniert auch soweit, wenn ich allerdings den Debug-Modus anschalte, werden statt Frontend und auch Backend eine weiße Seite angezeigt. Wenn ich den Debug Modus beende, funktioniert es wieder.
Die composer.json sieht so aus:
Code:
{
"type": "project",
"require": {
"christianbarkowsky/coverpicture": "^1.3",
"codefog/contao-news_categories": "^3.5",
"codefog/contao-widget_tree_picker": "^2.4",
"contao/calendar-bundle": "^4.13",
"contao/comments-bundle": "^4.13",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.13",
"contao/listing-bundle": "^4.13",
"contao/manager-bundle": "^4.13",
"contao/news-bundle": "^4.13",
"contao/newsletter-bundle": "^4.13",
"dklemmt/contao_dk_mmenu": "^4.0",
"do-while/contao-backupdb-bundle": "^1.4",
"erdmannfreunde/euf_grid": "^3.1",
"erdmannfreunde/euf_overlay": "^1.3",
"fritzmg/contao-youtube-iframe": "^2.2",
"hschottm/tags": "^4.9"
},
"extra": {
"contao-component-dir": "assets",
"public-dir": "web"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Die Logfiles bleiben (leider) leer ...
Zitat von
Spooky
Du verwendest für dein Kategorie Modul das Template "nav_default" statt "nav_newscategories". Das Template "nav_default" ist unter Umständen nicht dafür geeignet.
Ich habe das Navigationstemplate jetzt auf '-' gesetzt, also Standardeinstellung. Leider immer noch eine Fehlermeldung:
Code:
[2023-02-23T11:50:02.446571+01:00] request.INFO: Matched route "tl_page.6". {"route":"tl_page.6","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.6","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.6","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://meine_domain.de/blog.html","method":"GET"} []
[2023-02-23T11:50:02.458298+01:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-02-23T11:50:02.528920+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Codefog\HasteBundle\EventListener\AjaxReloadListener::onGetContentElement(): Argument #2 ($buffer) must be of type string, null given, called in /www/htdocs/wxyz/www/contao2020/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php on line 628" at /www/htdocs/wxyz/www/contao2020/vendor/codefog/contao-haste/src/EventListener/AjaxReloadListener.php line 21 {"exception":"[object] (TypeError(code: 0): Codefog\\HasteBundle\\EventListener\\AjaxReloadListener::onGetContentElement(): Argument #2 ($buffer) must be of type string, null given, called in /www/htdocs/wxyz/www/contao2020/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php on line 628 at /www/htdocs/wxyz/www/contao2020/vendor/codefog/contao-haste/src/EventListener/AjaxReloadListener.php:21)"} []
Keine Ahnung, ob die beiden Fehler einen Zusammenhang haben?
Lesezeichen