HeartBeat not working
Hi Scott, just noticed the heartbeat is not showing any servers, just wondered if there is any issues other have had?
https://tiocoop.com/?page_id=16 |
I don't see any issues with the heartbeat at the moment. Most of the BHD servers are using it and can be viewed here: https://nw.novahq.net/dfbhd
Is that a custom lobby that you setup in the config file? |
Servers are showing on lobby page but not on the status page.
error log: thrown in /home/xxxx/public_html/tio/PHPScript/global.php on line 65 [25-Apr-2023 06:41:46 Australia/Sydney] PHP Fatal error: Uncaught Error: Class "mysqli" not found in /home/xxxx/public_html/tio/PHPScript/global.php:65 Stack trace: #0 /home/xxxx/public_html/tio/PHPScript/import.php(58): require_once() #1 {main} thrown in /home/xxxx/public_html/tio/PHPScript/global.php on line 65 |
Looks like a mysql error, that would happen if they web host has disabled the mysqli extension. Ask them to enable it and it should work.
|
1 Attachment(s)
it is on
|
What version of PHP are you on? Can you place a php file with "<?php phpinfo(); ?>" in the directory the script is running in and see if the extension is actually enabled?
That error is because PHP cannot find a class for mysqli. That happens when the extension isn't enabled or isn't configured properly. |
running PHP 8.0
seems the Host upgraded the site to force https by adding a bit in the htaccess file RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set Content-Security-Policy "upgrade-insecure-requests;" Which broke the coding. Took it out and it works now |
1 Attachment(s)
hi again Scott,
Put it all back to how it was and now the Small Screen Shot doesn't work, if you click image to open full screen, it will show properly HTML Code:
if(file_exists("../mapimages/".$Server['MissionName'].".jpg")) { |
If you compare the url from the src to the herf the domain name is different. One says tiocoop and the other tiocop
|
LOL bloody typo causing my problems, thanks Scott :p
|
ok got another question :)
I have 3 public games up and 1 password game. The 3 games show on the list but the password one doesn't. Can i change the code to show the password one in our server list? |
Hi Blade, im not actually sure why they aren't showing in that list. Can you check if the servers appear in the myself database?
|
Hi Scott, not sure if you did anything or not but it's working again lol, no idea.
|
Quote:
|
More troubles...
In short my ISP reset the modem, stripped all the port forwarding...
I have set it up again with port forwarded, games show in Lobby and Alt Lobby and can join them. Problem is the AU servers don't show in the web page https://tiocoop.com/?page_id=16 The USA Servers are showing via a different hosted game server, so the software is working correct. When i look at the Database i can see the servers listed but not showing on the website webpage. Interesting though, when i refresh the database the USA servers it shows refresh time (current time) where as the AU servers don't refresh, still showing 7:49am Now in the log there seems to be a difference with PVer =>1.0.7 on the USA Servers and PVer =>1.0.9 on the AU Servers. Not sure if this is causing the issue. Code:
Update was a success! |
Is it possible to update the AUS servers from the 1.0.7 dll to 1.0.9?
Seems odd, something isn't right there. |
finally got it worked out....
I had to disable IPV6 in the modem and everything works fine again. The USA Servers are on 1.0.7, mine the AU are on 1.0.9. Using latest 1.0.9 PHPScripts |
Nice, glad you got it working.
|
All times are GMT -5. The time now is 01:00 PM. |
Powered by vBulletin®