Hallo,
bei einer Contao 4.4.47 Installation verwenden wir contao-leads 1.4.16 zum Speichern von Formulardaten.
Das klappt auch problemlos, die Daten werden im Backend angezeigt und stehen auch in der Datenbank.
Wir haben außerdem phpoffice/phpexcel 1.8.2 installiert, um die Daten zu Exportieren.
Die Export-Konfigration ist eingerichtet.
Beim Aufruf des Exports kommt aber eine Fehlermeldung "Internal Server Error":
Code:
An exception occurred while executing 'SELECT id, MAX(name) AS name, MAX(label) AS label, type, options, field_id, MAX(master_id) AS master_id, MAX(sorting) AS sorting FROM ( SELECT tl_lead_data.field_id AS id, IFNULL(tl_form_field.name, tl_lead_data.name) AS name, IF(tl_form_field.label IS NULL OR tl_form_field.label='', tl_lead_data.name, tl_form_field.label) AS label, tl_form_field.type, tl_form_field.options, tl_lead_data.field_id, tl_lead_data.master_id, tl_lead_data.sorting FROM tl_lead_data LEFT JOIN tl_form_field ON tl_form_field.id=tl_lead_data.field_id LEFT JOIN tl_lead ON tl_lead_data.pid=tl_lead.id WHERE tl_lead.master_id=8 AND tl_lead_data.field_id IN (55,56,57,58,64,65,66) ORDER BY tl_lead.master_id!=tl_lead.form_id ) result_set GROUP BY field_id ORDER BY FIND_IN_SET(`field_id`, '55,56,57,58,64,65,66')': SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
Hat jemand einen Tipp für eine Lösung?
Danke
seagull
Lesezeichen