php5.6/php7 compatibility + memleak fix

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

Moderators: Xymph, TM-Patrol

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: php5.6/php7 compatibility + memleak fix

Post by Bueddl » 14 Feb 2017 00:00

Hi!

Glad to see, that changes are trickling down by time :-) The exact steps depend on what you want to archive.
If you only want to fix the memleak, you can go with the files I provided. I updated them and removed the GBX Data Fetcher as Xymph already merged the changes to version 2.9 which has been released recently (see update notice https://ftp.bueddl.de/tm/php7_patches/). It is better to obtain them from the original upstream source :-)

Second is, you'll have to deal with the removal of the old-style mysql API. Changes are described above and on the tiny site I put on the web. If you want a minimal effort solution, go with reabys plugin. Otherwise I suggest to perform the replacement of the procedural API with the object orientated one.

Cheers,

Bueddl

NoTimeToDrive
pedestrian
pedestrian
Posts: 9
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

Re: php5.6/php7 compatibility + memleak fix

Post by NoTimeToDrive » 16 Feb 2017 18:35

Hey Bueddl

Thanks a lot for your info!!
This weekend I will try.
Now Server is most time busy.
And if there are problems,
I have more time to check.
During the week I'm too busy with work.

Server name: PlaneTMX FunTime!!!

Thanks a lot again ;-)

===============================
EDIT:21-2-2017

Hey.

I add/replace the new file's.
And so far...I don't see any problems.
Server runs oke.

Thanks ;-)
===============================
Greetings Ed

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: php5.6/php7 compatibility + memleak fix

Post by Bueddl » 25 Feb 2017 13:41

NoTimeToDrive wrote: I add/replace the new file's.
And so far...I don't see any problems.
Glad to hear that :-)

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests