Direkt zur Hauptnavigation springen Direkt zum Inhalt springen

2020

TLS Probleme bei alten TYPO3 Versionen und Mail-Versand über externe Mailserver

Immer mehr Mail-Anbieter schalten die alten TLS 1.0 und 1.1 Versionen ab. So auch beispielsweise Microsoft bei seine Office 365 Angeboten. Das führt bei alten TYPO3 Versionen zu Problemen, weil der integrierte swiftmailer das TLS Protokoll nicht aushandelt und standardmäßig die 1.0 Version nimmt. Eventuell ist dies aber auch ein Bug in den alten PHP Versionen.Um das Problem zu beheben, muss man in der typo3_src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php Klasse...

mysqldump: Couldn't execute 'SET OPTION SQL_QUOTE_SHOW_CREATE=1

Falls Sie diese Fehlermeldung erhalten, passt ihr mysql client nicht zur Datenbankversion. Aktualisieren Sie diesen und dann wird es funktionieren. mysqldump: Couldn't execute 'SET OPTION SQL_QUOTE_SHOW_CREATE=1': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_QUOTE_SHOW_CREATE=1' at line 1 (1064)

TYPO3 calendarize 4.x auf 6.x Update

Folgende SQL Befehle müssen durchgeführt werden, falls sich die Spalten start_date und end_date im INT-Format befinden. Die neue calendarize Version arbeiten mit DATE. ALTER TABLE `tx_calendarize_domain_model_configuration` ADD `start_date2` DATE DEFAULT NULL AFTER `start_date`; UPDATE `tx_calendarize_domain_model_configuration` SET start_date2 = FROM_UNIXTIME(start_date); ALTER TABLE `tx_calendarize_domain_model_configuration` DROP `start_date`; ALTER TABLE `tx_calendarize_domain_model_confi...

Replace non-UTF8 in dump file with sed

#!/bin/sh sed -i s/ß/ß/g $1 sed -i s/ä/ä/g $1 sed -i s/ü/ü/g $1 sed -i s/ö/ö/g $1 sed -i s/‘/\"/g $1 sed -i s/’/\"/g $1 sed -i s/§/§/g $1 sed -i s/–/–/g $1 sed -i s/©/©/g $1 sed -i s/„/„/g $1 sed -i s/“/“/g $1 sed -i s/Ü/Ü/g $1 sed -i s/Ö/Ö/g $1 sed -i s/Ä/Ä/g $1 sed -i s/·/·/g $1