Vielen Dank für die schnelle Antwort!
Ich hatte über das Backend den Suchindex gelöscht und danach wieder aufgebaut.
DB-Update scheint durch zu sein.
Der Fehler kommt aber trotzdem sporadisch... - nicht immer, nicht bei jeder Seite - sehr seltsam.
Hier der Fehler:
Code:
[06-Sep-2016 16:26:23 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Duplicate entry 'e02781ff84e03d58ed78d4d1512c72d1-10' for key 2 (INSERT INTO tl_search (tstamp, url, title, protected, filesize, groups, pid, language, text, checksum) VALUES (...)
thrown in /var/www/virtual/user/www.domain.de/system/modules/core/library/Contao/Database/Statement.php on line 295
#0 /var/www/virtual/user/www.domain.de/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 /var/www/virtual/user/www.domain.de/system/modules/core/library/Contao/Search.php(214): Contao\Database\Statement->execute()
#2 /var/www/virtual/user/www.domain.de/system/modules/core/classes/FrontendTemplate.php(330): Contao\Search::indexPage(Array)
#3 /var/www/virtual/user/www.domain.de/system/modules/core/classes/FrontendTemplate.php(124): Contao\FrontendTemplate->addToSearchIndex()
#4 /var/www/virtual/user/www.domain.de/system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#5 /var/www/virtual/user/www.domain.de/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#6 /var/www/virtual/user/www.domain.de/index.php(20): Contao\FrontendIndex->run()
#7 {main}
[06-Sep-2016 16:26:23 Europe/Berlin]
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/user/www.domain.de/system/modules/core/library/Contao/Template.php:303) in /var/www/virtual/user/www.domain.de/system/helper/functions.php on line 130
#0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/virtua...', 130, Array)
#1 /var/www/virtual/user/www.domain.de/system/helper/functions.php(130): header('HTTP/1.1 500 In...')
#2 /var/www/virtual/user/www.domain.de/system/helper/functions.php(115): show_help_message()
#3 [internal function]: __exception(Object(Exception))
#4 {main}
[06-Sep-2016 16:26:23 Europe/Berlin]
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/user/www.domain.de/system/modules/core/library/Contao/Template.php:303) in /var/www/virtual/user/www.domain.de/system/helper/functions.php on line 143
#0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/virtua...', 143, Array)
#1 /var/www/virtual/user/www.domain.de/system/helper/functions.php(143): header('Content-type: t...')
#2 /var/www/virtual/user/www.domain.de/system/helper/functions.php(131): die_nicely('be_error', 'An error occurr...')
#3 /var/www/virtual/user/www.domain.de/system/helper/functions.php(115): show_help_message()
#4 [internal function]: __exception(Object(Exception))
#5 {main}
Lesezeichen