Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

notification does not work!

I have installed the oc inventory server 2.5, and notification does not work. I made the same setup as here http://ask.ocsinventory-ng.org/9931/how-to-use-the-new-notification-feature?show=9931#q9931 

 but it does not work!

looking at the log files, no error is shown!

in OCS Inventory NG server for Unix by (370 points)

11 Answers

0 votes

other error :(

I do not know what else to do for the notification to work ... I've reinstalled the ocs from scratch, several times ...

[18-Dec-2018 16:17:01 America/Sao_Paulo] PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /usr/share/ocsinventory-reports/ocsreports/require/mail/NotificationMail.php on line 126

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant SERVER_READ - assumed 'SERVER_READ' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant COMPTE_BASE - assumed 'COMPTE_BASE' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant PSWD_BASE - assumed 'PSWD_BASE' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 160

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  mysqli_query() expects parameter 1 to be mysqli, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103

by (370 points)
 
Powered by Question2Answer
...