Bonjour !
sur une machine ubuntu fraiche, php 7.2 / apache / mariadb : problème de création d’un sondage :
extrait de config.php :
$config = [
/* general config */
'use_smtp' => true, // use email for polls creation/modification/responses notification
'smtp_options' => [
'host' => 'XXX.com', // SMTP server (you could add many servers (main and backup for example) : use ";" like s$
'auth' => true, // Enable SMTP authentication
'username' => 'XXX@XXX', // SMTP username
'password' => 'XXX', // SMTP password
'secure' => 'tls', // Enable encryption (false, tls or ssl)
'port' => 587, // TCP port to connect to
],
erreur dans la log d’apache :
PHP Fatal error: Cannot redeclare Framadate\Services\MailService::$smtp_allowed in XXX/framadate_user/framadate/app/classes/Framadate/Services/MailService.php on line 16, referer: https://XXX/create_poll.php?type=date
j’ai loupé quelque chose dans la config du STMP ??
merci