Bonjour,
Depuis la mise à jour vers la version 2.2.1 de OCSInventory sur Unix, nous ne pouvons plus gérer les ordinateurs dupliqués.
Nous sélectionnons 2 PC à merge et nous cliquons sur Merge Redundant computers et il ne se passe rien.
J'ai déja essayé de réinstaller l'application OCS sur le serveur j'ai même supprimer complètement le répertoire OCSInventory pour repartir sur une installation propre et malgré cela le bouton reste inactif.
Version OCSInventory : 2.2.1
OS: Ubuntu 16.04
Apache version 2
php version 7
mysql version 5.7
J'ai regardé dans les logs Apache du serveur et j'ai trouvé des erreurs quand on clique sur le bouton Merge Redundant computers:
[Mon Sep 12 09:19:28.953935 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mysqli_fetch_array() expects parameter 2 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_doubles/ms_doubles.php on line 48, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:28.954266 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mysqli_fetch_array() expects parameter 2 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_doubles/ms_doubles.php on line 48, referer: http://NOM_SERVEURocsreports/?function=admin_double
[Mon Sep 12 09:19:28.954544 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mktime() expects parameter 1 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_computers.php on line 168, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:28.954576 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mktime() expects parameter 1 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_computers.php on line 168, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:29.134872 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mysqli_fetch_array() expects parameter 2 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_doubles/ms_doubles.php on line 48, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:29.135212 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mysqli_fetch_array() expects parameter 2 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_doubles/ms_doubles.php on line 48, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:29.135465 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mktime() expects parameter 1 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_computers.php on line 168, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
[Mon Sep 12 09:19:29.135502 2016] [:error] [pid 6218] [client IP_MACHINE:40799] PHP Warning: mktime() expects parameter 1 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_computers.php on line 168, referer: http://NOM_SERVEUR/ocsreports/?function=admin_double
Merci à vous.