1

Topic: Mass update of items not working

Hello,

I try to update two items with same info (location or comment) but i receive the following error message:

Error on executing the action

and Information message:

Failed operation
(0 authorization problems, 2 failures)
GLPI 9.1.2 on Centos 7.3 with Apache/2.4.6, php 5.4 and Mariadb 5.5

2

Re: Mass update of items not working

Whick kind of item?
Verrsion of GLPI used?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

3

Re: Mass update of items not working

Items are computers imported from ocs or with fusioninventory agent.
I use GLPI 9.1.2

GLPI 9.1.2 on Centos 7.3 with Apache/2.4.6, php 5.4 and Mariadb 5.5

4

Re: Mass update of items not working

No problem with Computer imported by OCS.
Have you error in GLPI logs?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Mass update of items not working

Logs don't show nothing related with item update error. Last entry in php-errors.log is displayed below. This warning is not related with my problem because the time is not the time when i try to update the items.

Thank you!

2017-03-22 16:04:17 [[email protected]]
  *** PHP Warning(2): fclose() expects parameter 1 to be resource, boolean given
  Backtrace :
  :                                                  
  plugins/fusioninventory/inc/toolbox.class.php:330  fclose()
  ...ry/inc/inventorycomputerinventory.class.php:603 PluginFusioninventoryToolbox::writeXML()
  ...inventory/inc/inventoryruleimport.class.php:781 PluginFusioninventoryInventoryComputerInventory->rulepassed()
  inc/rule.class.php:1427                            PluginFusioninventoryInventoryRuleImport->executeActions()
  inc/rulecollection.class.php:1459                  Rule->process()
  ...ry/inc/inventorycomputerinventory.class.php:375 RuleCollection->processAllRules()
  ...ry/inc/inventorycomputerinventory.class.php:127 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
  ...fusioninventory/inc/communication.class.php:235 PluginFusioninventoryInventoryComputerInventory->import()
  ...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
  plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
  plugins/fusioninventory/index.php:59               include_once()
GLPI 9.1.2 on Centos 7.3 with Apache/2.4.6, php 5.4 and Mariadb 5.5

6

Re: Mass update of items not working

In your settings, choose mode Debug and try to update your item. You will have error in the interface

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

7 (edited by d.i.catalin 2017-03-23 11:38:09)

Re: Mass update of items not working

Hello,
I can't find debug menu, all i can find, somehow related is in the following screen:

https://drive.google.com/file/d/0B2CPz2 … sp=sharing

GLPI 9.1.2 on Centos 7.3 with Apache/2.4.6, php 5.4 and Mariadb 5.5

8

Re: Mass update of items not working

No in your settings (wheel near you login name on top right)

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

9

Re: Mass update of items not working

Hello,
I found and activate debug mode, but only messages displayed by the UI is the ones from the first post.

GLPI 9.1.2 on Centos 7.3 with Apache/2.4.6, php 5.4 and Mariadb 5.5