Bei "Cache-Aufbau" kommt "Query error: MySQL server has gone away..."
Hallo Community!
Habe gerade mit Contao begonnen und auch die Installation trotz einiger kleiner Haken und Schwierigkeiten auf´s Erste hinbekommen:
Contao Check 7.3: Validate an installation:
Version: Found a Contao 3.1.5 installation. Your installation is up to date.
Dann kam eine Meldung, dass aus Performancegründen ein Cache aufgebaut werden sollte und ich folgte dem.
Allerdings bin ich dabei leider mit einer Fehlermeldung konfrontiert, die ich nur im Ansatz deuten kann:
Fatal error: Uncaught exception Exception with message Query error: MySQL server has gone away (INSERT INTO tl_log (tstamp, source, action, username, text, func, ip, browser) VALUES(1384243689, 'BE', 'CRON', 'sccmsadmin', 'Generated the language cache', 'Automator generateLanguageCache()', '178.115.128.0', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36')) thrown in system/modules/core/library/Contao/Database/Statement.php on line 282
#0 system/modules/core/library/Contao/Database/Statement.php(253): Contao\Database\Statement->query()
#1 system/modules/core/library/Contao/System.php(159): Contao\Database\Statement->execute(1384243689, 'BE', 'CRON', 'sccmsadmin', 'Generated the l...', 'Automator gener...', '178.115.128.0', 'Mozilla/5.0 (Wi...')
#2 system/modules/core/library/Contao/Automator.php(685): Contao\System::log('Generated the l...', 'Automator gener...', 'CRON')
#3 system/modules/core/library/Contao/Automator.php(472): Contao\Automator->generateLanguageCache()
#4 contao/main.php(89): Contao\Automator->generateInternalCache()
#5 contao/main.php(275): Main->__construct()
#6 {main}
Fatal error: Uncaught exception 'Exception' with message 'Query error: MySQL server has gone away (UPDATE tl_user SET session='a:2:{s:7:\"referer\";a:5:{s:8:\"44861d7c\ ";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:15: \"contao/main.php\";}s:8:\"ed8059fc\";a:2:{s:4:\"last\";s:1 5:\"contao/main.php\";s:7:\"current\";s:36:\"contao/main.php?do=user&ref=44861d7c\";}s:8:\"deb10626\"; a:2:{s:4:\"last\";s:15:\"contao/main.php\";s:7:\"current\";s:36:\"contao/main.php?do=user&ref=44861d7c\";}s:8:\"e27839fa\"; a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:36:\" contao/main.php?do=user&ref=e687cde7\";}s:8:\"f94d6fb0\"; a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:71:\" contao/main.php?&bic=1&rt=a4a754cfc7e6f4350378f0630842b6e c&ref=dc10c2e7\";}}s:7:\"CURRENT\";a:1:{s:3:\"IDS\ ";a:1:{i:0;s:1:\"2\";}}}' WHERE id='2')' in /home2/www/datazone/_md/sgxxxx.com/system/modules/core/library/Contao/Database/Statement.php:282 Stack trace: #0 /home2/www/datazone/_md/sgxxxx.com/system/modules/core/library/Contao/Database/Statement.php(253): Contao\Databa in /home2/www/datazone/_md/sgxxxx.com/system/modules/core/library/Contao/Database/Statement.php on line 282
Für mich sieht das aus, als ob es ein Problem gibt, ein Query mit Update einer Tabelle auszuführen - der Nutzer ist aber mit allen Berechtigungen der Datenbank (MySQL 5.5) ausgestattet.
Was könnte da die Ursache sein?
Bedanke mich jetzt schon für Anregungen! :-)
Liste der Anhänge anzeigen (Anzahl: 3)
Zitat:
Zitat von
BugBuster
Alternative: Die Erweiterungen "
cron" und "
cron_jobs_bugbuster", da ist ein Job bei der das aus dem Backend gesteuert tut. Hinweise aber dazu beachten.
Danke - aber leider hat das nicht so geklappt wie erwartet:
15.11.2013 12:50 Uhr:
Anhang 12267
15.11.2013 13:10 Uhr:
Anhang 12268
Anhang 12269
Aus irgendeinem Grund sind die Dinger nicht losgestartet um 12:55 Uhr bzw. 12:59 Uhr....? :confused:
Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:
Zitat von
TSRalex
.... - aber leider hat das nicht so geklappt wie erwartet.....
Es hat doch geklappt - nur die Anzeigen über die Finalisierung in der Cron-Job-Verwaltung und im Log waren etwas behäbig..... :D
Anhang 12270
Anhang 12271
:cool: Perfekt!