tomolimo / mailanalyzer

Mail Analyzer GLPI Plugin may be used to combine CC mails into one Ticket
25 stars 10 forks source link

10.0.3 compatibility #73

Closed empereira closed 1 year ago

empereira commented 2 years ago

hello @tomolimo,

When will it be compatible with glpi version 10.0.3?

tomolimo commented 2 years ago

Hello @empereira In a near future :) Thank you, Regards, Tomolimo

tomolimo commented 2 years ago

Hello @empereira Did you try the current release which is compatible with GLPI 10.0.x? Thank you, Regards, Tomolimo

gjfmlj commented 1 year ago

The current version is compatible with glpi10.0.0, but 10.0.3 does not work.

tomolimo commented 1 year ago

Hello @gjfmlj Could you give more details? Could you check the PHP error logs and SQL error log files?* Thank you Regards, Tomolimo

empereira commented 1 year ago

Hello @empereira Did you try the current release which is compatible with GLPI 10.0.x? Thank you, Regards, Tomolimo

Hello Tomolino,

I changed the code to accept version 10.0.3 and at first it installed and is active.

How can I make sure it is working?

tomolimo commented 1 year ago

Hello @empereira Why did you change code, and where? You just need to take the 10.0.x compatible release and install it like for any plugins. Thank you, Regards, Tomolimo

gjfmlj commented 1 year ago

mysql-log.zip Please help to view this log file,Thanks.

tomolimo commented 1 year ago

Hello @gjfmlj That's look like SQL query log, but not like SQL error logs... Could you check the PHP error logs and SQL error log files, they are in the glpi-path/files/_log folder? Thank you, Regards, Tomolimo

gjfmlj commented 1 year ago

root@glpi:/var/www/html/glpi/files/_log# cat php-errors.log [2022-12-03 15:23:54] glpiphplog.WARNING: *** PHP Warning (2): mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/glpi/src/DBmysql.php at line 250 Backtrace : src/DBmysql.php:250 mysqli->real_connect() src/DBmysql.php:209 DBmysql->connect() src/DBConnection.php:412 DBmysql->__construct() src/DBConnection.php:501 DBConnection::switchToMaster() inc/config.php:116 DBConnection::establishDBConnection() inc/includes.php:53 include_once() ajax/notifications_ajax.php:36 include()

I didn't find any useful information in the log.

tomolimo commented 1 year ago

Hello @gjfmlj Try to use IP address instead of the SQL server name, to prevent the name resolution warning. Regards, Tomolimo

tomolimo commented 1 year ago

Hello, As th issue was the compatibility with GPI 10.0.x and as it has been develloped, I close this issue. If you have some troubles using this release https://github.com/tomolimo/mailanalyzer/releases/tag/3.0.0, please create a new issue. Thank you, Regards, Tomolimo