Page 1 of 2

Stats page down

Posted: Wed Dec 14, 2022 8:32 pm
by Enyo
Infinite cat pointed out the server stats page is down. You get a PHP error:

Code: Select all

 Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /usr/www/omnipotents2/public/utstats/includes/main.inc.php:32 
Stack trace: #0 /usr/www/omnipotents2/public/utstats/index.php(23): require() 
#1 {main} thrown in /usr/www/omnipotents2/public/utstats/includes/main.inc.php on line 32
I’ve noticed today too that sometimes when I tried to make a forum post I’d get a different PHP error when submitting the post.

Re: Stats page down

Posted: Wed Dec 14, 2022 8:50 pm
by reshred
i came to post that too, but as usual Enyo is one step ahead of me...Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /usr/www/omnipotents2/public/utstats/includes/main.inc.php:32 Stack trace: #0 /usr/www/omnipotents2/public/utstats/index.php(23): require() #1 {main} thrown in /usr/www/omnipotents2/public/utstats/includes/main.inc.php on line 32

Re: Stats page down

Posted: Wed Dec 14, 2022 9:39 pm
by pooty
Yep, as I posted in the other thread, they upgraded the PHP version and apparently it broke some stuff, and it seems to have affected the forum a bit.

Re: Stats page down

Posted: Wed Dec 14, 2022 10:48 pm
by COLDCUT
poof

Re: Stats page down

Posted: Thu Dec 15, 2022 3:32 pm
by infinitecat
If the stats DB is down does that mean the Evenmatch system is offline, too?

Re: Stats page down

Posted: Thu Dec 15, 2022 4:04 pm
by pooty
They are seperate.
No EvenMatch has its own points database.

Re: Stats page down

Posted: Fri Dec 16, 2022 1:35 pm
by pooty
UTStats page is back up (Told you I could code in anything) There's likely to be a few errors here and there, as the php code used to display uses many deprecated functions. Easy to replace but basically used in nearly every page. I'll spend a few more minutes on it this weekend.

But, I haven't decided if we should put the stats collection back on the server.... not really sure of the value and it does put some load on server and machine...

Re: Stats page down

Posted: Fri Dec 16, 2022 3:54 pm
by FuriousRabbit
That was fast! Following a link to match details still returns an undefined function.

I always found it interesting to peruse afterwards... to see how others faired for frag/node build/node destroy ratios, kill/be-killed lineups, etc. So it does have value and I appreciated it.

I always thought we had our own VM? Or does the hosting provider impose minimum security patches?

Re: Stats page down

Posted: Fri Dec 16, 2022 5:02 pm
by pooty
Should be fixed now, jsut fixed a few more pages.
I always thought we had our own VM? Or does the hosting provider impose minimum security patches?
Hosting provider handles all the OS maintenance, patches, backups etc. We just run the game part of it. We really have two parts, the UT game itself and the website/forum. We share machines for both.

Re: Stats page down

Posted: Fri Dec 16, 2022 6:23 pm
by leon
I use this page 99% but it doesn't work yet.
Image