Hallo zusammen,
ich habe in den letzten Tagen ein Projekt von Contao 3.5.31 auf 4.4.12 aktualisiert. Alles unter den gleichen Bedingungen (PHP 7.1 FastCGI, MySQL 5.6.38) nur auf einer "geheimen" Subdomain. Heute ging die 4.4.12 online und ich stellte den Server-Cache auf 60 Minuten (Browser-Cache ist aus). Als ich etwas später den Seiten-Cache löschen wollte fiel mir auf, dass var/cache/prod/http_cache auf 0 steht, obwohl die Seite bereits Zugriffe hatte. Ich dann also noch mal in die Seitenstruktur und gecheckt, ob da noch die 60 Minuten stehen. Sie stehen da. Auf den Unterseiten ist kein Haken bei Cache gesetzt, so dass die Einstellung des Startpunktes gilt. Es passiert schlicht weg nichts, es wird nichts gechachet.
Sämtliche Pakete und Erweiterungen sind auf dem aktuellsten Stand. Das Log meldet seit Stunden komischerweise nichts mehr und ist für mich auch nicht aussagekräftig:
Erweiterungen sind:Code:[2018-01-10 16:50:12] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","_route":"contao_frontend"},"request_uri":"https://www.domain.de/news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","method":"HEAD"} []
[2018-01-10 16:54:59] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:54:59] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:50:49] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"news/filter/tag/TSV Bayer Dormagen%kalender","_route":"contao_frontend"},"request_uri":"https://www.domain.de/news/filter/tag/TSV%20Bayer%20Dormagen%25kalender?month=201804&page_n44=43","method":"GET"} []
[2018-01-10 16:54:59] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:54:59] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:50:25] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","_route":"contao_frontend"},"request_uri":"https://www.domain.de/news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","method":"HEAD"} []
[2018-01-10 16:54:59] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:54:59] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:52:35] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"impressum","_route":"contao_frontend"},"request_uri":"https://www.domain.de/impressum","method":"HEAD"} []
[2018-01-10 16:54:59] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:54:59] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:51:45] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"impressum","_route":"contao_frontend"},"request_uri":"https://www.domain.de/impressum","method":"HEAD"} []
[2018-01-10 16:54:59] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:54:59] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:51:14] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","_route":"contao_frontend"},"request_uri":"https://www.domain.de/news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","method":"HEAD"} []
[2018-01-10 16:55:02] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:55:02] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 16:50:47] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","_route":"contao_frontend"},"request_uri":"https://www.domain.de/news/fulminantes-abwehrbollwerk-sichert-tsv-sieg-ueber-longericher-sc","method":"HEAD"} []
[2018-01-10 16:55:02] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 16:55:02] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'SELECT tl_page.* FROM tl_page WHERE tl_page.type='root' AND tl_page.enableMobileDns=1 AND (tl_page.mobileDns='www.domain.de' OR tl_page.mobileDns='') AND (tl_page.language IN('de','de-DE','en-US','en') OR tl_page.fallback='1') ORDER BY tl_page.dns DESC, FIND_IN_SET(tl_page.language, 'en,en-US,de-DE,de') DESC, tl_page.sorting LIMIT 0,1':\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /www/htdocs/domain/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
[2018-01-10 18:28:20] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"kalender/termine/bastian-jacoby-hat-geburtstag","_route":"contao_frontend"},"request_uri":"https://www.domain.de/kalender/termine/bastian-jacoby-hat-geburtstag","method":"HEAD"} []
[2018-01-10 18:28:20] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 18:28:20] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"kalender/termine/bastian-jacoby-hat-geburtstag","_route":"contao_frontend"},"request_uri":"https://www.domain.de/kalender/termine/bastian-jacoby-hat-geburtstag","method":"GET"} []
[2018-01-10 18:28:20] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2018-01-10 18:28:21] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"PageNotFoundException\" from namespace \"Contao\".\nDid you forget a \"use\" statement for \"Contao\\CoreBundle\\Exception\\PageNotFoundException\"? at /www/htdocs/domain/contao/vendor/hschottm/tags/modules/ModuleEventReaderTags.php:32)"} []
- ausi/contao-slug-backport
- codefog/contao-cookiebar
- codefog/contao-mobile_menu
- codefog/contao-polls
- contao/calendar-bundle
- contao/comments-bundle
- contao/faq-bundle
- contao/listing-bundle
- contao/news-bundle
- contao/newsletter-bundle
- delahaye/dlh_googlemaps
- derhaeuptling/contao-mobilecontent
- hschottm/tags
- jrgregory/m17-sticky-backend-footer
- roave/security-advisories
- terminal42/contao-inserttags
- terminal42/contao-mailusername
- terminal42/notification_center
Ich habe in der Contao-Demo (4.4.8) geschaut und auch in einer anderen 4.4.12 von mir, da wird gecachet. Die andere 4.4.12-Installation ist jedoch eine frische Installation, kein Update.
Hat jemand eine Idee, wie ich das Problem angehen kann?
Danke schon mal vorab.