Envoi automatique de mails

Installation & Configuration du logiciel
Avatar du membre
Flox
Administrateur du site
Messages : 9404
Enregistré le : jeu. 21 juin 2012 19:00

Les notifications automatiques sont associées au identifiant des états, si vous avez modifier le libellé l'application ne peut le savoir.

pour les utilisées il faut rétablir la liste d’origine.
Fichiers joints
2018-08-21 14_55_25-screenshot-zensoft.png
2018-08-21 14_55_25-screenshot-zensoft.png (39.26 Kio) Vu 20248 fois
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
Henri02
Gsup LEVEL 0
Messages : 1
Enregistré le : jeu. 23 août 2018 08:28

gkientzel a écrit : mar. 27 mars 2018 10:57 Eh bien, désolé d'avance, nouveau jour nouvelle erreur, même par le bouton envoyer un mail, ce dernier cette fois m'affiche une erreur via le debug mode ( je n'ai pourtant pas touché au serveur depuis hier où cela marchait ).

Je vous copie l'erreur et les logs d'erreurs d'apache.
Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Could not instantiate mail function. in /var/www/html/components/PHPMailer/src/PHPMailer.php:1671 Stack trace: #0 /var/www/html/components/PHPMailer/src/PHPMailer.php(1483): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Tue, 27 M...', '\n\t<html>\n\t\t<hea...') #1 /var/www/html/components/PHPMailer/src/PHPMailer.php(1320): PHPMailer\PHPMailer\PHPMailer->postSend() #2 /var/www/html/core/mail.php(482): PHPMailer\PHPMailer\PHPMailer->send() #3 /var/www/html/preview_mail.php(27): require('/var/www/html/c...') #4 /var/www/html/index.php(887): include('/var/www/html/p...') #5 {main} thrown in /var/www/html/components/PHPMailer/src/PHPMailer.php on line 1671
Voici le log d'hier, celui d’aujourd’hui n'est que l'erreur d'au dessus une paire de fois.
[Mon Mar 26 00:09:36.916908 2018] [mpm_prefork:notice] [pid 867] AH00163: Apache/2.4.27 (Ubuntu) configured -- resuming normal operations
[Mon Mar 26 00:09:36.916935 2018] [core:notice] [pid 867] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 26 10:00:07.891789 2018] [php7:error] [pid 385] [client 192.168.1.74:62068] PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting in /var/www/html/components/PHPMailer/src/PHPMailer.php:1726\nStack trace:\n#0 /var/www/html/components/PHPMailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Mon, 26 M...', '\\r\\n\\t<html>\\r\\n\\t\\t<h...')\n#1 /var/www/html/components/PHPMailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#2 /var/www/html/core/mail.php(482): PHPMailer\\PHPMailer\\PHPMailer->send()\n#3 /var/www/html/preview_mail.php(27): require('/var/www/html/c...')\n#4 /var/www/html/index.php(887): include('/var/www/html/p...')\n#5 {main}\n thrown in /var/www/html/components/PHPMailer/src/PHPMailer.php on line 1726, referer: http://192.168.1.200/index.php?page=pre ... &date_end=
[Mon Mar 26 10:06:03.561488 2018] [php7:error] [pid 3524] [client 192.168.1.74:62079] PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP Error: Could not authenticate. in /var/www/html/components/PHPMailer/src/PHPMailer.php:1911\nStack trace:\n#0 /var/www/html/components/PHPMailer/src/PHPMailer.php(1725): PHPMailer\\PHPMailer\\PHPMailer->smtpConnect(Array)\n#1 /var/www/html/components/PHPMailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Mon, 26 M...', '\\r\\n\\t<html>\\r\\n\\t\\t<h...')\n#2 /var/www/html/components/PHPMailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#3 /var/www/html/core/mail.php(482): PHPMailer\\PHPMailer\\PHPMailer->send()\n#4 /var/www/html/preview_mail.php(27): require('/var/www/html/c...')\n#5 /var/www/html/index.php(887): include('/var/www/html/p...')\n#6 {main}\n thrown in /var/www/html/components/PHPMailer/src/PHPMailer.php on line 1911, referer: http://192.168.1.200/index.php?page=pre ... &date_end=
[Mon Mar 26 10:09:13.817145 2018] [php7:error] [pid 385] [client 192.168.1.74:62372] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tservices.id' in 'field list' in /var/www/html/admin/list.php:1062\nStack trace:\n#0 /var/www/html/admin/list.php(1062): PDOStatement->execute(Array)\n#1 /var/www/html/admin.php(24): include('/var/www/html/a...')\n#2 /var/www/html/index.php(887): include('/var/www/html/a...')\n#3 {main}\n thrown in /var/www/html/admin/list.php on line 1062, referer: http://192.168.1.200/index.php?page=admin&subpage=list
sh: 1: /var/qmail/bin/qmail-inject: not found
[Mon Mar 26 10:26:55.329239 2018] [php7:error] [pid 3288] [client 192.168.1.74:62518] PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: Could not execute: /var/qmail/bin/qmail-inject in /var/www/html/components/PHPMailer/src/PHPMailer.php:1577\nStack trace:\n#0 /var/www/html/components/PHPMailer/src/PHPMailer.php(1479): PHPMailer\\PHPMailer\\PHPMailer->sendmailSend('Date: Mon, 26 M...', '\\n\\t<html>\\n\\t\\t<hea...')\n#1 /var/www/html/components/PHPMailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#2 /var/www/html/core/mail.php(482): PHPMailer\\PHPMailer\\PHPMailer->send()\n#3 /var/www/html/preview_mail.php(27): require('/var/www/html/c...')\n#4 /var/www/html/index.php(887): include('/var/www/html/p...')\n#5 {main}\n thrown in /var/www/html/components/PHPMailer/src/PHPMailer.php on line 1577, referer: http://192.168.1.200/index.php?page=pre ... &date_end=
sh: 1: /usr/sbin/sendmail: not found obtenir prêt
[Mon Mar 26 11:07:50.000552 2018] [php7:error] [pid 3561] [client 192.168.1.74:60053] PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: Could not instantiate mail function. in /var/www/html/components/PHPMailer/src/PHPMailer.php:1671\nStack trace:\n#0 /var/www/html/components/PHPMailer/src/PHPMailer.php(1483): PHPMailer\\PHPMailer\\PHPMailer->mailSend('Date: Mon, 26 M...', '\\n\\t<html>\\n\\t\\t<hea...')\n#1 /var/www/html/components/PHPMailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#2 /var/www/html/core/mail.php(482): PHPMailer\\PHPMailer\\PHPMailer->send()\n#3 /var/www/html/preview_mail.php(27): require('/var/www/html/c...')\n#4 /var/www/html/index.php(887): include('/var/www/html/p...')\n#5 {main}\n thrown in /var/www/html/components/PHPMailer/src/PHPMailer.php on line 1671, referer: http://192.168.1.200/index.php?page=pre ... &date_end=
[Mon Mar 26 11:09:34.529922 2018] [php7:notice] [pid 384] [client 192.168.1.74:60125] PHP Notice: Undefined variable: company_filter in /var/www/html/asset_stat.php on line 47, referer: http://192.168.1.200/index.php?page=admin&subpage=list
[Mon Mar 26 12:28:12.292544 2018] [php7:error] [pid 384] [client 192.168.1.74:50943] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'service' in 'where clause' in /var/www/html/admin/list.php:1502\nStack trace:\n#0 /var/www/html/admin/list.php(1502): PDO->query('SELECT * FROM `...')\n#1 /var/www/html/admin.php(24): include('/var/www/html/a...')\n#2 /var/www/html/index.php(887): include('/var/www/html/a...')\n#3 {main}\n thrown in /var/www/html/admin/list.php on line 1502, referer: http://192.168.1.200/index.php?page=adm ... le=tsubcat
[Mon Mar 26 12:28:37.128151 2018] [php7:error] [pid 3288] [client 192.168.1.74:50945] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'service' in 'where clause' in /var/www/html/admin/list.php:1502\nStack trace:\n#0 /var/www/html/admin/list.php(1502): PDO->query('SELECT * FROM `...')\n#1 /var/www/html/admin.php(24): include('/var/www/html/a...')\n#2 /var/www/html/index.php(887): include('/var/www/html/a...')\n#3 {main}\n thrown in /var/www/html/admin/list.php on line 1502, referer: http://192.168.1.200/index.php?page=adm ... le=tsubcat
[Mon Mar 26 12:28:48.400415 2018] [php7:error] [pid 385] [client 192.168.1.74:50946] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'service' in 'where clause' in /var/www/html/admin/list.php:1502\nStack trace:\n#0 /var/www/html/admin/list.php(1502): PDO->query('SELECT * FROM `...')\n#1 /var/www/html/admin.php(24): include('/var/www/html/a...')\n#2 /var/www/html/index.php(887): include('/var/www/html/a...')\n#3 {main}\n thrown in /var/www/html/admin/list.php on line 1502, referer: http://192.168.1.200/index.php?page=adm ... le=tsubcat
[Tue Mar 27 00:05:36.932192 2018] [mpm_prefork:notice] [pid 867] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Oulah, c'est compliqué :/
Avatar du membre
Flox
Administrateur du site
Messages : 9404
Enregistré le : jeu. 21 juin 2012 19:00

Bonjour,

Je vous invite a créé un nouveau sujet pour votre erreur.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/
Répondre