Heiho!
I hope somebody can help me here.
I have a Ubuntu 18.10 server with php7.2.
xAseco doesn't start properly anymore with a fresh installation and just returns the following error:
Code: Select all
[02/07,20:02:21] [RASP] Calculating ranks...
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function mysql_insert_id(), 0 passed in /home/gameserver/TrackManiaNationsForever/xaseco/plugins/plugin.rasp.php on line 252 and exactly 1 expected in /home/gameserver/TrackManiaNationsForever/xaseco/includes/modernizer.inc.php:100
Stack trace:
#0 /home/gameserver/TrackManiaNationsForever/xaseco/plugins/plugin.rasp.php(252): mysql_insert_id()
#1 /home/gameserver/TrackManiaNationsForever/xaseco/plugins/plugin.rasp.php(306): Rasp->getChallenges()
#2 /home/gameserver/TrackManiaNationsForever/xaseco/plugins/plugin.rasp.php(618): Rasp->resetRanks()
#3 /home/gameserver/TrackManiaNationsForever/xaseco/plugins/plugin.rasp.php(633): Rasp->onEndrace(Object(Aseco), Array)
#4 /home/gameserver/TrackManiaNationsForever/xaseco/aseco.php(1249): event_endrace(Object(Aseco), Array)
#5 /home/gameserver/TrackManiaNationsForever/xaseco/aseco.php(1602): Aseco->releaseEven in /home/gameserver/TrackManiaNationsForever/xaseco/includes/modernizer.inc.php on line 100
As you can see, the error occurs when calculating the ranks. So with every map change.
Local records & Co are saved as usual.
The funny thing about it:
I have 3 more TM servers running, which started with Ubuntu 18.10 and php7.0.
They also run completely trouble-free with php7.2.
If I now copy the server data and change logins, I end up with the same error again.
I hope that someone will be able to solve the problem in 2019
