Fehler: Tao installiert, Fehler im Frontend

ts's Avatar

ts

13 Feb, 2020 12:56 PM

Produkt: Tao Contao

Nachdem ich Tao installiert habe und die Demodaten geladen hatte, wollte ich mir das Ganze im Frontend anschauen. Allerdings kommt es da zu einer Fehlermeldung.

Die Log Dateien sagen folgendes aus:

dev-2020-02-13
[2020-02-13 13:46:50] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"http://lsg.lesolar.de/contao?do=article&ref=MgKTejFd","method":"GET"} []
[2020-02-13 13:46:50] security.DEBUG: Read existing security token from the session. {"key":"_security_contao_backend","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2020-02-13 13:46:50] security.DEBUG: User was reloaded from a user provider. {"provider":"Contao\\CoreBundle\\Security\\User\\ContaoUserProvider","username":"tsteinke"} []
[2020-02-13 13:46:50] security.DEBUG: Stored the security token in the session. {"key":"_security_contao_backend"} []
[2020-02-13 13:46:51] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"194e49"},"request_uri":"http://lsg.lesolar.de/_wdt/194e49","method":"GET"} []
[2020-02-13 13:46:52] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"http://lsg.lesolar.de/contao?do=debug&key=disable&ref=IsmQTvFJ&referer=ZG89YXJ0aWNsZSZyZWY9TWdLVGVqRmQ%3D","method":"GET"} []
[2020-02-13 13:46:52] security.DEBUG: Read existing security token from the session. {"key":"_security_contao_backend","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2020-02-13 13:46:52] security.DEBUG: User was reloaded from a user provider. {"provider":"Contao\\CoreBundle\\Security\\User\\ContaoUserProvider","username":"tsteinke"} []
[2020-02-13 13:46:52] security.DEBUG: Stored the security token in the session. {"key":"_security_contao_backend"} []

prod-2020-02-13

[2020-02-13 12:11:42] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:11:42] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:13:00] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:13:00] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: NO) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: NO) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: NO) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:13:16] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:13:16] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:13:51] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:13:51] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:14:07] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:14:07] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27, PDOException(code: 0): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:14:10] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:14:10] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27, PDOException(code: 0): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:18:48] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:18:48] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:20:04] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:20:08] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:21:25] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:21:25] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27, PDOException(code: 0): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:21:50] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:21:50] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:106, Doctrine\\DBAL\\Driver\\PDOException(code: 2006): SQLSTATE[HY000] [2006] MySQL server has gone away at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2006): SQLSTATE[HY000] [2006] MySQL server has gone away at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27, PDOException(code: 0): Packets out of order. Expected 0 received 45. Packet size=4739923 at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 12:24:58] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"http://lsg.lesolar.de/contao/install","method":"POST"} []
[2020-02-13 12:24:58] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:93, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dbu512683'@'infong217.clienthosting.eu' (using password: YES) at /homepages/32/d358825856/htdocs/LSG/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []
[2020-02-13 13:28:41] request.INFO: Matched route "tl_page.2.root". {"route":"tl_page.2.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.2.root"},"request_uri":"http://lsg.lesolar.de/","method":"GET"} []
[2020-02-13 13:28:41] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-02-13 13:28:41] request.CRITICAL: Uncaught PHP Exception Exception: "Could not find template "js_modernizr"" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 161 {"exception":"[object] (Exception(code: 0): Could not find template \"js_modernizr\" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:161)"} []
[2020-02-13 13:34:46] request.INFO: Matched route "tl_page.2.root". {"route":"tl_page.2.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.2.root"},"request_uri":"http://lsg.lesolar.de/preview.php/","method":"GET"} []
[2020-02-13 13:34:47] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-02-13 13:34:47] request.CRITICAL: Uncaught PHP Exception Exception: "Could not find template "js_modernizr"" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 161 {"exception":"[object] (Exception(code: 0): Could not find template \"js_modernizr\" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:161)"} []
[2020-02-13 13:46:55] request.INFO: Matched route "tl_page.2.root". {"route":"tl_page.2.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.2.root"},"request_uri":"http://lsg.lesolar.de/preview.php/","method":"GET"} []
[2020-02-13 13:46:55] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-02-13 13:46:55] request.CRITICAL: Uncaught PHP Exception Exception: "Could not find template "js_modernizr"" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 161 {"exception":"[object] (Exception(code: 0): Could not find template \"js_modernizr\" at /homepages/32/d358825856/htdocs/LSG/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:161)"} []

Woran könnte das liegen?

  1. Support Staff 1 Posted by RockSolid Theme... on 14 Feb, 2020 06:38 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Welche Contao-Version setzen Sie ein?

    Ihre Log-Dateien zeigen verschiedene Fehlermeldungen. Um welche Uhrzeit genau ist der Fehler aufgetreten?

    Die ersten Fehlermeldungen (z. B. Access denied for user 'dbu512683'@'infong217.clienthosting.eu) deuten auf falsche Zugangsdaten für die Datenbank hin.

    Die letzte Fehlermeldung Could not find template "js_modernizr" deutet auf eine fehlerhafte Installation des Themes hin. Bitte stellen Sie sicher ob die Datei templates/tao/js_modernizr.html5 auf Ihrem Webspace existiert.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • dev-2020-02-13.log 1.98 KB
  • prod-2020-02-13.log 16.1 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac