Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Problem creating administrative data items

I've recently installed OCS Inventory NG 2.2 Release in a Debian based installation.

I can create administrative data tabs with several  fields perfectly. But when I try to agregate items for a field under any tab  I canĀ“t do it.

First I select an inventoried computer. Then I can enter in edit mode by clicking on the pencil icon under an administrative data tab, but when I click  the add icon (+) in any field, it does not work. It reload the page and no form appears to agregate data options and neither the  green "accept" or red "cancel" icon to save or exit from edit mode.

The problem appears in "select" and "radio buttons" type fields. However I can reorder fields up and down.

I'll apreciate any clue to solve this problem.
in Administrative console by (200 points)
edited by

1 Answer

+2 votes
I solved the problem. There is a bug in the new 2.2 Release.

In order to solve the error edit file:


replace line 144 with this code:

       array_push($config['COMMENT_AFTER'],$up_png . "<a href=# onclick=window.open(\"index.php?".PAG_INDEX."=".$pages_refs['ms_adminvalues']."&head=1&tag=ACCOUNT_VALUE_" . $val_admin_info['NAME'] . "\")><img src=image/plus.png></a>");
by (200 points)
Powered by Question2Answer