Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Theme wird nicht richtig geladen (Update auf Contao 4.4)

  1. #1
    Contao-Nutzer
    Registriert seit
    04.09.2019.
    Beiträge
    7

    Standard Theme wird nicht richtig geladen (Update auf Contao 4.4)

    Hallo,

    nach dem Update einer Webseite von 3.5 auf 4.4 wird das Layout nicht richtig dargestellt. Dort fehlen die Styles des Templates.
    In der Console steht dass die /jquery-ui.min.js nicht gefunden wird, der Pfad ist nicht korrekt.

    Die Seite: http://zsu.turt.org
    Ich würde mich über Hilfe freuen.

    Liebe Grüße

  2. #2
    AG Pressearbeit
    Community-Moderator
    Buchautor 'Contao für Webdesigner'
    Avatar von planepix
    Registriert seit
    05.06.2009.
    Ort
    Stuttgart
    Beiträge
    6.464
    Partner-ID
    107
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hallo Gushans,

    stelle sicher das in der Dateiverwaltung die Ordner auf „öffentlich” gesetzt sind.
    Das ist bei Contao 4 genau umgekehrt wie bei Contao 3.5.

    Ergänzt: Und auch einmal die Templates vergleichen. Oft sind hier die Pfade andere.
    Geändert von planepix (04.11.2019 um 20:23 Uhr)
    ---------------------------------
    Beste Grüße planepix
    Contao für Webdesigner (Website), Twitter: @contaowebdesign
    weitzeldesign
    Contao-Sprechstunde
    Contao Schulungen: https://www.weitzeldesign.com/cms-co...chulungen.html
    Contao Jahrbuch: www.contao-jahrbuch.de
    Contao Agenturtag: www.contao-agenturtag.de
    Contao Stammtisch Stuttgart: www.contao-stammtisch-stuttgart.de
    Contao 4 Erfahrungen als Gitbook: https://app.gitbook.com/@planepix/s/...-mit-contao-4/
    Contao 4 & Manager Hosterhinweise: https://github.com/contao/contao-manager/wiki

    Schon wieder ein Update?
    Glücklich sind die, die den Wert erkennen – und wertschätzen.
    „Muss man machen wie beim Zahnarzt. Der bestraft einen auch mit hohen Rechnungen wenn man die Pflege vernachlässigt.”

  3. #3
    Contao-Nutzer
    Registriert seit
    04.09.2019.
    Beiträge
    7

    Standard

    Guten Morgen,

    leider komme ich nicht wirklich weiter. In der log Datei sind noch weitere Fehlermeldungen ersichtlich:

    [2019-11-05 00:15:03] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_ scope":"frontend","_token_check":true,"_controller ":"Contao\\CoreBundle\\Controller\\FrontendControl ler::indexAction","_url_fragment":"assets/jquery/ui//jquery-ui.min.js","_route":"contao_catch_all"},"request_u ri":"http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js","method":"GET"} []
    [2019-11-05 00:15:03] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBun dle\\Security\\ContaoAuthenticator"} []
    [2019-11-05 00:15:03] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js" at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundExcepti on(code: 0): Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
    [2019-11-05 00:20:34] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_ scope":"frontend","_token_check":true,"_controller ":"Contao\\CoreBundle\\Controller\\FrontendControl ler::indexAction","_url_fragment":"assets/jquery/ui//jquery-ui.min.js","_route":"contao_catch_all"},"request_u ri":"http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js","method":"GET"} []
    [2019-11-05 00:20:34] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBun dle\\Security\\ContaoAuthenticator"} []
    [2019-11-05 00:20:34] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js" at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundExcepti on(code: 0): Page not found: http://zsu.turt.org/assets/jquery/ui//jquery-ui.min.js at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
    [2019-11-05 00:20:45] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_ scope":"frontend","_token_check":true,"_controller ":"Contao\\CoreBundle\\Controller\\FrontendControl ler::indexAction","_url_fragment":"favicon.ico","_ route":"contao_catch_all"},"request_uri":"http://zsu.turt.org/favicon.ico","method":"GET"} []
    [2019-11-05 00:20:45] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBun dle\\Security\\ContaoAuthenticator"} []
    [2019-11-05 00:20:45] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "Page not found: http://zsu.turt.org/favicon.ico" at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundExcepti on(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
    [2019-11-05 00:20:48] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_ scope":"frontend","_token_check":true,"_controller ":"Contao\\CoreBundle\\Controller\\FrontendControl ler::indexAction","_url_fragment":"favicon.ico","_ route":"contao_catch_all"},"request_uri":"http://zsu.turt.org/favicon.ico","method":"GET"} []
    [2019-11-05 00:20:48] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBun dle\\Security\\ContaoAuthenticator"} []
    [2019-11-05 00:20:48] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "Page not found: http://zsu.turt.org/favicon.ico" at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundExcepti on(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
    [2019-11-05 00:22:01] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_ scope":"frontend","_token_check":true,"_controller ":"Contao\\CoreBundle\\Controller\\FrontendControl ler::indexAction","_url_fragment":"favicon.ico","_ route":"contao_catch_all"},"request_uri":"http://zsu.turt.org/favicon.ico","method":"GET"} []
    [2019-11-05 00:22:01] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBun dle\\Security\\ContaoAuthenticator"} []
    [2019-11-05 00:22:01] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "Page not found: http://zsu.turt.org/favicon.ico" at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundExcepti on(code: 0): Page not found: http://zsu.turt.org/favicon.ico at /mnt/web102/e0/71/54670371/htdocs/ZSU_Contao_4/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []

    Liebe Grüße

  4. #4
    Administratorin Avatar von lucina
    Registriert seit
    19.06.2009.
    Ort
    Kiel (DE)
    Beiträge
    7.328
    Partner-ID
    152
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Da ist dann die Frage, wieso Du zwei Slashes im Pfad zu jQueryui hast ...

  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.892
    Partner-ID
    10107

    Standard

    Vermutlich wegen einem übernommen j_ Template aus Contao 3.5.

    @Gushans grundsätzlich musst du alle deine überschriebenen Templates mit dem Original vergleichen und ggf. Anpassungen machen.

  6. #6
    Contao-Nutzer
    Registriert seit
    04.09.2019.
    Beiträge
    7

    Standard

    Also ich habe gerade die Systemwartung gemacht, jetzt funktioniert es :-)
    Vielen Dank an alle!

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •