leblanc-simon / OpenSondage

Fork de STUdS
70 stars 36 forks source link

Impossible de créer un sondage sur une installation fraiche - SMTP ? #73

Open Jerome-mi opened 4 years ago

Jerome-mi commented 4 years ago

php 7.2 / apache / mariadb sur une instalaltion fraîche, 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 log 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 ?

merci :)