Bonjour,
Voici mes composants :
Sur un serveur Windows 2012 R2
XAMPP Control Panel v3.2.2 (Compiled: Nov12th 2015)
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15
OCS Inventory NG serveur 2.2
OCS Inventory NG Agents 2.1.2
Le client Ocs ne remonte pas dans la console OCS Serveur.
Dans le fichier error.log d'apache voici les erreurs que j'ai :
191.10.2.28 ==> Client OCS
[Tue Mar 01 15:38:04.141404 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_select_db() expects parameter 2 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\backend\\identity\\methode\\local.php on line 26, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.141404 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_query() expects parameter 2 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\require\\function_commun.php on line 94, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.141404 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\\xampp\\htdocs\\ocsreports\\backend\\identity\\methode\\local.php on line 31, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.157030 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_select_db() expects parameter 2 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\backend\\ipdiscover\\methode\\local.php on line 17, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.157030 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_query() expects parameter 2 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\require\\function_commun.php on line 94, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.157030 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\\xampp\\htdocs\\ocsreports\\backend\\ipdiscover\\methode\\local.php on line 21, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.157030 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_query() expects parameter 2 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\require\\function_commun.php on line 94, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:04.157030 2016] [:error] [pid 2912:tid 1768] [client 191.10.2.28:58916] PHP Warning: mysql_error() expects parameter 1 to be resource, object given in C:\\xampp\\htdocs\\ocsreports\\backend\\ipdiscover\\methode\\local.php on line 35, referer: http://191.10.1.100/ocsreports/
[Tue Mar 01 15:38:22.970083 2016] [:error] [pid 2912:tid 1764] [client 191.10.2.28:58920] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10
[Tue Mar 01 15:38:22.970083 2016] [:error] [pid 2912:tid 1764] [client 191.10.2.28:58920] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10
[Tue Mar 01 15:38:34.126650 2016] [:error] [pid 2912:tid 1760] [client 191.10.2.28:58922] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php
[Tue Mar 01 15:38:34.126650 2016] [:error] [pid 2912:tid 1760] [client 191.10.2.28:58922] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php
[Tue Mar 01 15:38:34.142250 2016] [:error] [pid 2912:tid 1760] [client 191.10.2.28:58922] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php
[Tue Mar 01 15:38:38.663428 2016] [:error] [pid 2912:tid 1764] [client 191.10.2.28:58926] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php
[Tue Mar 01 15:38:39.876792 2016] [:error] [pid 2912:tid 1760] [client 191.10.2.28:58922] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php?function=visu_groups
[Tue Mar 01 15:38:40.392409 2016] [:error] [pid 2912:tid 1760] [client 191.10.2.28:58922] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://191.10.1.100/ocsreports/index.php?function=visu_computers
Comment puis je résoudre mon problème ?
Il y a t'il un rapport avec la ligne suivante ?
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10:
merci pour vos éclaircissement.
Bonne journée