Skip to content

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

Open
@Jerome-mi

Description

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 :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions