Closed allan-altair closed 3 years ago
After upgrading from GPLI 9.4.6 to 9.5.3 and upgrade the OCS Inventory plugin to 1.7.3. The synchronization has ceased functioning. Error logs :
PHP Notice: Undefined index: COMPUTERS in ocsng_fullsync.php on line 221 PHP Warning: count(): Parameter must be an array or an object that implements Countable in ocsng_fullsync.php on line 221
Thanks for help
Hello, You can test my pull request : https://github.com/pluginsGLPI/ocsinventoryng/pull/294
Hello,
done succesfully, but now i get no longer infomation like software, OS and components. It is only th asset with serialnumber.
Hi, problem is solved. It works now but don`t ask me why :D
Hello @abonanni,
I upgraded my plugin for the version that you mentioned, but I have the same problem.
PHP Notice (8): Undefined index: max_glpidate in glpi/plugins/ocsinventoryng/inc/ocsserver.class.php at line 2221
Thanks in advance
Hello @abonanni,
I upgraded my plugin for the version that you mentioned, but I have the same problem.
PHP Notice (8): Undefined index: max_glpidate in glpi/plugins/ocsinventoryng/inc/ocsserver.class.php at line 2221
Thanks in advance
Hello @allan-altair
My commit solve "PHP Notice: Undefined index: COMPUTERS in ocsng_fullsync.php on line 221" problem but not "Undefined index: max_glpidate".
Without copy of your database it will be hard to debug.
@abonanni
How can I share my database with you?
My workaround is change 'archive' fields from null to '0' in ocs database. I started with a test from only four servers.
After upgrading the GPLI 9.5.2 to 9.5.4 and the OCS Inventory plugin 1.7.0 to 1.7.3, when synchronize computers already imported in the debug mode show the message below:
PHP Notice (8): Undefined index: max_glpidate in glpi/plugins/ocsinventoryng/inc/ocsserver.class.php at line 2221