Go Back   Novahq.net Forum > Computers > Tech Support

Tech Support Have a problem? Maybe we can help!

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 12-17-2016, 11:38 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

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
Reply With Quote
  #3  
Old 03-27-2017, 05:04 PM
ragonese is offline ragonese
Registered User

Join Date: Mar 2017
Posts: 2

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
Reply With Quote
  #4  
Old 03-29-2017, 12:39 PM
ragonese is offline ragonese
Registered User

Join Date: Mar 2017
Posts: 2

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/ ?
Reply With Quote
  #5  
Old 03-29-2017, 08:17 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:52 AM.




Powered by vBulletin®