|
Tech Support Have a problem? Maybe we can help! |
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||
|
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? |
#2
|
||
|
I think you are not setting up the mysql database properly. What version of mysql are you using? Do you see the tables created in the database after you ran the install script?
Looking at the source code of servers.php, line 61 looks like a very simple query "SELECT ALL SERVERS" but it cannot find the table, so that's most likely your issue. The database you entered in the config.php needs to be correct: $joDbht = "localhost"; //Database host name. $joDbnm = ""; //Database name. $joDbun = ""; //Database username. $joDbpw = ""; //Database password.
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
||
|
where is the download for babstats that runs on php 5.6
We are updating our site and we are currently switching to php 5.6
|
#4
|
||
|
location of Neos_Chronos installation
Do you install Neos_Chronos under the Public_html/Neos_Chronos/ folder or do you install it under Public_html/modules/Neos_Chronos/ ?
|
#5
|
||
|
That depends if you have PHPNuke or something else? I usually would install it to Public_html/Neos_Chronos/
BUT I'm not sure Neos_Chronos is compatible with PHP 5.6 yet
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|