[XAseco2] modernizer (adds support to php 5.6 and php7.0)

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1309
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XAseco2] modernizer (adds support to php 5.6 and php7.0)

Post by undef.de » 08 Oct 2017 08:30

TheBigG wrote:
08 Oct 2017 01:01

Code: Select all

PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function mysql_insert_id(), 0 passed in /home/tmf/master_xaseco/plugins/plugin.rasp.php on line 252 and exactly 1 expected in /home/tmf/master_xaseco/plugins/plugin.compatibledatabase.php:104
Stack trace:
#0 /home/tmf/master_xaseco/plugins/plugin.rasp.php(252): mysql_insert_id()
#1 /home/tmf/master_xaseco/plugins/plugin.rasp.php(306): Rasp->getChallenges()
#2 /home/tmf/master_xaseco/plugins/plugin.rasp.php(618): Rasp->resetRanks()
#3 /home/tmf/master_xaseco/plugins/plugin.rasp.php(633): Rasp->onEndrace(Object(Aseco), Array)
#4 /home/tmf/master_xaseco/aseco.php(1248): event_endrace(Object(Aseco), Array)
#5 /home/tmf/master_xaseco/aseco.php(1601): Aseco->releaseEvent('onEndRace', Array)
#6 /home/tmf/master_xaseco/aseco.php(1089): Aseco->endRace(Array)
#7 /home/tmf/master_xaseco/aseco.php(759): Aseco->executeCallbacks()
#8 /home/tmf/master_xaseco/aseco.php(2561): Aseco->run('config.xml')
#9 {main}
  thrown in /home/tmf/master_xaseco/plugins/plugin.compatibledatabase.php on line 104
Would be nice if somebody could fix it, i tried it but was not successful :(
See viewtopic.php?p=231233#p231233
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 228
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XAseco2] modernizer (adds support to php 5.6 and php7.0)

Post by TheBigG » 08 Oct 2017 12:42

Thank you undef, totally forgot that bueddl had also a fix. Sorry :oops:

Post Reply