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.

Error modifying config

Everytime i try to modify config like
ADVANCE_CONFIGURATION 0 -> 1
I get this error in Apache:

==> SERVERNAME-ssl_error_ssl.log <==
[Wed Sep 24 12:43:51.091630 2025] [php:error] [pid 6988:tid 6988] [client 10.0.0.0:56542] PHP Fatal error:  Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php:435\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php(435): mysqli_fetch_array()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php(449): fetchValues()\n#2 /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_config/ms_config.php(46): update_default_value()\n#3 /usr/share/ocsinventory-reports/ocsreports/require/header.php(434): require('...')\n#4 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('...')\n#5 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php on line 435, referer: https://SERVER_URL/ocsreports/index.php?function=admin_conf

==> SERVERNAME-ssl_access_ssl.log <==
10.0.0.0 - - [24/Sep/2025:12:43:51 +0200] "POST /ocsreports/index.php?function=admin_conf HTTP/1.1" 200 8827 "https://SERVER_URL/ocsreports/index.php?function=admin_conf" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
10.0.0.0 - - [24/Sep/2025:12:43:51 +0200] "GET /ocsreports/plugins/main_sections/ms_search_soft/js/print.js HTTP/1.1" 200 765 "https://SERVER_URL/ocsreports/index.php?function=admin_conf" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"

I can change in the database itself and it changes

The config in /etc/ocsinventory-reports/dbconfig.inc.php is correct and has read and write. (var.php i also pointing to that config)

I am running version 2.11.1

I cant figure out why this is.
Similar error when changing ADVANCE_CONFIGURATION in DB then trying to access LDAP Settings, just getting a blank page.
Any idea what could be wrong would be appreciated.
The OCS-Server itself works fine and have no issues except that i cant manually change configs using the web UI
ago in Administrative console by (140 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...