Hallo Contao-Community,
bin neu hier im Forum, verwende jedoch seit geraumer Zeit Contao für die eigene Webseite und bin begeistert. Seit den letzten 3 Versionen von Contao 3.5.x als LTS gibt es bei mir jedoch im Backend einige "Fatal error" sobald ich neue Elemente erstellen möchte. Da ich mir nicht sicher bin ob dies an "dhl_googlemap" liegt, oder an Contao Core poste ich dies einmal hier. Folgende Fehlermeldungen treten auf, sobald die Erweiterung "dhl_googlemap" in den Systemeinstellungen aktiviert ist:
1. Beim erstellen eines neuen Elementes für ein Artikel.
Fatal error: Uncaught exception Exception with message Query error:
Incorrect integer value: '' for column 'dlh_googlemap_zoom' at row 1 (INSERT INTO tl_content (type, floating, sortOrder, perRow, sliderSpeed, sliderStartSlide, article_list_childrens, article_list_page_headline, article_list_teaser, com_order, com_template, dlh_googlemap_template, dlh_googlemap_zoom, pid, sorting, ptable, tstamp) VALUES ('text', 'above', 'ascending', 4, 300, 0, '1', '1', '1', 'ascending', 'com_default', 'ce_dlh_googlemaps_default', '', 1336, 512, 'tl_article', 0)) thrown in system/modules/core/library/Contao/Database/Statement.php on line 295
#0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 system/modules/core/drivers/DC_Table.php(689): Contao\Database\Statement->execute()
#2 system/modules/core/classes/Backend.php(650): Contao\DC_Table->create()
#3 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
#4 contao/main.php(20): Contao\BackendMain->run()
#5 {main}
2. Beim erstellen eines neuen Elements (Detail) für einen Kalendereintrag:
Fatal error: Uncaught exception Exception with message Query error:
Incorrect integer value: '' for column 'dlh_googlemap_zoom' at row 1 (INSERT INTO tl_content (type, floating, sortOrder, perRow, sliderSpeed, sliderStartSlide, article_list_childrens, article_list_page_headline, article_list_teaser, com_order, com_template, dlh_googlemap_template, dlh_googlemap_zoom, pid, sorting, ptable, tstamp) VALUES ('text', 'above', 'ascending', 4, 300, 0, '1', '1', '1', 'ascending', 'com_default', 'ce_dlh_googlemaps_default', '', 177, 64, 'tl_calendar_events', 0)) thrown in system/modules/core/library/Contao/Database/Statement.php on line 295
#0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 system/modules/core/drivers/DC_Table.php(689): Contao\Database\Statement->execute()
#2 system/modules/core/classes/Backend.php(650): Contao\DC_Table->create()
#3 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('calendar')
#4 contao/main.php(20): Contao\BackendMain->run()
#5 {main}
Sobald die Erweiterung "dlh_googlemap" deaktiviert wird in den Einstellungen und der interne Cache neu aufgebaut wurde, lassen sich die Elemente neu erstellen.
Zudem wird im Frontend für die Kalendereinträge im Feld "Detail" des Standard-Templates für die komplette Ausgabe überall eine "1" ausgegeben, auch wenn die Kalendereinträge keine Details enthalten.
Diese Fehler lassen sich ebenfalls mit einer neuen Installation reproduzieren:
Contao 3.5.12 unter Ubuntu Server 16.04 LTS mit Apache 2.4.18, PHP 7.0.4, MySQL 5.7.12 (MySQLi)
Die verwendeten Erweiterungen:
contao-community-alliance/composer-client 0.16.4
contao-legacy/calendar_extended 3.6.0.9023
contao-legacy/ce_article_list 1.6.3.9003
contao-legacy/coin-slider 1.7.0.9009
⤷ lionel/coin-slider (Installation bringt Fehler, kann nicht abgeschlossen werden)
contao-legacy/contao-wetter 1.0.2.9014
contao-legacy/page_images 3.2.0.9007
bugbuster/botdetection 4.0.2
bugbuster/visitors 3.7.1
christianbarkowsky/extended_checkbox 1.1.3
delahaye/dlh_geocode 1.0.4
delahaye/dlh_googlemaps 2.1.1
menatwork/contao-multicolumnwizard 3.3.4
phpoffice/phpexcel 1.8.1
terminal42/contao-calendarfield 1.7.2
fipps/contao-rss-import 3.3 (dev)
Auch wenn mein Beitrag eher in Richtung Bug-Report tendiert, hoffe ich das weitergeholfen werden kann bzw. ein künftiges Update diese beseitigt.
MfG - Dreamer
Lesezeichen