Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all articles
Browse latest Browse all 4370

post installation problem PHP Fatal error

$
0
0
CentOS Linux release 7.5.1804 (Core)
OCSNG_UNIX_SERVER_2.4.1

After successful ./setup.sh, I browse to here as instructions said.

http://XXX.XXX.XXX.XXX/ocsreports/

But the page is blank.  logs are as follows ...

access_log:

xxx.xxx.xxx.xxx - - [18/May/2018:10:52:59 -0700] "GET /ocsreports/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"

error_log:

[Fri May 18 10:52:59.064777 2018] [:error] [pid 9511] [client xxx.xxx.xxx.xxx:42748] PHP Fatal error:  Call to undefined function mysqli_real_escape_string() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 66

I think the database isn't being installed.   I tried on another new system and played around with

trying to get the database initiated, but still can't get past this.

Viewing all articles
Browse latest Browse all 4370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>