View Single Post
  #1  
Old 12-17-2016, 02:47 AM
plazma is offline plazma
Registered User

Join Date: Dec 2016
Posts: 3

Babstats for php5.6

Hi, i see "Scott NHQ" kindly posted a updated/modified version of babstats 1.7.9 standalone php scripts that say they been upgraded to run on php5.6 or above a few months back.

However ive tried it on version 7 and also 5.6 and in both cases i get the following errors:

1. when running the install it tells me the database has failed... although it does appear to create it correctly.

2. When i login as admin to create the servers i get the message "Failed: Could not add server to database!" and looking at the apache log most pages are spitting out "PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /var/www/html/JOStats/mods/admin/servers.php on line 61, referer: http://192.168.250.11/JOStats/admin.php?section=servers"

Does anyone else have this running on 5.6 that can point me in the right direction, where am i going wrong?
Reply With Quote