1) Either change MYSQL_ASSOC to MYSQLI_ASSOC or remove it - it is an optional parameter.
Line 114 of ms_cvs.php, changed this
while( $cont = mysqli_fetch_array($result,MYSQL_ASSOC) ) {
to that: while( $cont = mysqli_fetch_array($result) ) {
After this, export works, but still error on line 86 in this file.
Change this:
to that:
while( $cont = mysqli_fetch_array($result) ) {
Now, export should work and error should vanish from apache2 error.log
Please also note that according to the developers, ocsinventory is not supposed to support php7.0 - it has improved php 5.5 support so be ready to run into errors with php 7 ...
1) Either change MYSQL_ASSOC to MYSQLI_ASSOC or remove it - it is an optional parameter.
Line 114 of ms_cvs.php, changed this
while( $cont = mysqli_ fetch_array( $result, MYSQL_ASSOC) ) {
to that: while( $cont = mysqli_ fetch_array( $result) ) {
After this, export works, but still error on line 86 in this file.
Change this:
while( $cont = mysqli_ fetch_array( $result, MYSQL_ASSOC) ) {
to that:
while( $cont = mysqli_ fetch_array( $result) ) {
Now, export should work and error should vanish from apache2 error.log
Please also note that according to the developers, ocsinventory is not supposed to support php7.0 - it has improved php 5.5 support so be ready to run into errors with php 7 ...