Hello ,
I have an issue with the installation of OCS server .
I'm on Ubuntu 21.10
I have installed Lamp ,perl and all the required module , Manualy create my database and my user . Everything was good until i lanch the /ocsreports/install.php confiugration . When i add my conf :
ocsuser
password
ocsdb
localhost
I have a blank page and nothing happened .(When i use a bad password i have an error message ) .
I Saw this message on the error.log file :
PHP Fatal error: Uncaught TypeError: mysqli_fetch_object(): Argument #1 ($result) must be of type mysqli_result, bool given in /usr/share/ocsinventory-reports/ocsreports/install.php:138\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/install.php(138): mysqli_fetch_object()\n#1 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/install.php on line 138, referer: http://IPSERVER/ocsreports/install.php
I have allready check if my php 7.0 was disabled #a2dismod php7.0
Do you have any idea where this error come from ?
PHP 8.1.2 (cli)
mysql Ver 15.1 Distrib 10.6.7-MariaDB
Server version: Apache/2.4.52 (Ubuntu
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Xdebug
Zend OPcache
Thank for your help .