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.12.3 available

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

Option to show XX entries is not available.

With version 2.1 I was able to view more than 10 computers by selecting the drop down and selecting more entries.  In version 2.3.1 I am unable to see this option.  I am almost certain that it is a library or permissions issue.

I am certain of that due to the fact on my:

centos7,local 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux    CentOS Linux release 7.3.1611 (Core)

when I browsed the administrative console the first time it was there.  After making changes to the z-ocsinventory-server.conf for database updates to 2.3.1 it was no longer visible.  I am trying to work on the resolution myself and am hoping that someone can give me the correct area to look in to locate this option.

More information as to probable cause.

 PHP Warning:  mysqli_connect(): Headers and client library minor version mismatch. Headers:50552 Library:100031 in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 160, referer: http://ocs.lakelandautomall.local/ocsreports/index.php?function=visu_computers

PHP version 5.6                 MariaDB version mysqld 10.0.31-MariaDB
in Administrative console by (750 points)
edited by

1 Answer

0 votes

Turns out that the database and php need to be able to communicate.  

Using php version 7.16

mysql comunity edition 5.6.36

compliments of this pagehttps://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/227

Had to change entry in var.php

Change:
// GUI Options
//====================================================================================
/**

  • OCS' MySQL database version
    /
    define('GUI_VER', '7011');
    /
    *GUI Version
Rocking and rolling again on 
Centos 7.3.1611
Apache 2.4.6
PHP 7.1.6
mysql 5.6.36
by (750 points)
 
Powered by Question2Answer
...