You are not logged in.
Pages: 1
Topic closed
Our ocsng automatic action works a few times, then the fails. If I can provide any more details please let me know.
regards
-paul
Debug Mode Error
PHP Notice: Undefined variable: conn in /usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php at line 5762
Fatal error: Call to a member function delete() on a non-object in /usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php on line 5762
below is the error from php-errors.log
2013-08-23 14:22:33
Notice(8): Undefined variable: conn
Backtrace :
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:5762 Toolbox::userErrorHandlerNormal()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:2175 PluginOcsinventoryngOcsServer::importPrinter()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:1522 PluginOcsinventoryngOcsServer::updateComputer()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:5023 PluginOcsinventoryngOcsServer::processComputer()
/usr/share/glpi/inc/crontask.class.php:755 call_user_func()
/usr/share/glpi/front/crontask.form.php:46 CronTask::launch()
2013-08-23 14:23:00
Notice(8): Undefined variable: conn
Backtrace :
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:5762 Toolbox::userErrorHandlerNormal()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:2175 PluginOcsinventoryngOcsServer::importPrinter()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:1522 PluginOcsinventoryngOcsServer::updateComputer()
/usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php:5023 PluginOcsinventoryngOcsServer::processComputer()
/usr/share/glpi/inc/crontask.class.php:755 call_user_func()
/usr/share/glpi/front/crontask.form.php:46 CronTask::launch()
Last edited by punkdali (2013-08-23 20:34:55)
Offline
Hi all,
We have the same issue with GLPI v0.84 and OCS Plugin 1.01 (OCS Server runs 2.1RC1).
The automatic action "ocsng" has worked for 59 times, then it has been "running" for days. When we cancel the running task and launch it again, it keeps running all the time. Normally, it should take just two seconds to end.
I tried to run syncrhonization manually but it results in a white screen of the death. Apache error log shows this error:
PHP Fatal error: Call to a member function delete() on a non-object in /usr/share/glpi/plugins/ocsinventoryng/inc/ocsserver.class.php on line 5762, referer: http://server_name/glpi/plugins/ocsinventoryng/front/ocsng.sync.php
Could it be a bug on the ocsinventory plugin?
Offline
I have fixed some hours ago: https://forge.indepnet.net/issues/4453
Offline
I've updated my server with the new file from https://forge.indepnet.net/issues/4453
and am happy to report the ocsng automatic action has been running successfully .
Offline
Nice
Offline
It also works for us.
Thanks a lot!
Offline
Pages: 1
Topic closed