So hi guys, I'm Yellowberry. I'm pretty new in the community. So what I am currently working on is rewriting XASECO to not use the deprecated PHP 5 functions (such as the 'mysql_' functions) and to be PHP 7+ only. Now I understand that not everyone will like that, however I started doing it out of personal need. I have a server that has PHP 7 pre-installed and I was unable to use XASECO unfortunately because it is incompatible with PHP 7.
So, I guess what I am trying to say is stay tuned(?) for more info and a release eventually. Also, make me feel stupid if someone else already did this. I looked everywhere I could think of and couldn't find anything.
Let me know if there are any bugs in XASECO 1.16 that I should fix in the mean time.
Hope to be a big help in the community from now on,
Yellowberry
Rewriting XASECO for PHP 7 Compatibility
- YellowberryHN
- highway camper
- Posts: 3
- Joined: 31 Oct 2017 20:11
- Owned TM-games: TMNF
- Location: Utah, USA
- Contact:
Re: Rewriting XASECO for PHP 7 Compatibility
Welcome.
Wow , that sounds like a lot of work.
There are already some fix ( patches ) so xaseco will work with php 7 if I'm right.
They should be here on the forum.
Anyway goodluck with coding.
Wow , that sounds like a lot of work.
There are already some fix ( patches ) so xaseco will work with php 7 if I'm right.
They should be here on the forum.
Anyway goodluck with coding.
- undef.de
- Pit Crew
- Posts: 1317
- Joined: 31 Aug 2009 18:38
- Owned TM-games: TMF, TM2C/S/V, SM
- Manialink(s): undef, tmkarma
- Location: Germany
- Contact:
Re: Rewriting XASECO for PHP 7 Compatibility
viewtopic.php?f=127&t=35817 works also with XAseco.
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
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name
Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm
- YellowberryHN
- highway camper
- Posts: 3
- Joined: 31 Oct 2017 20:11
- Owned TM-games: TMNF
- Location: Utah, USA
- Contact:
Re: Rewriting XASECO for PHP 7 Compatibility
I tried that...
Code: Select all
[11/02,12:01:10] Connection established successfully !
[11/02,12:01:10] [LocalDB] Load config file [localdatabase.xml]
[11/02,12:01:10] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'aseco'
[PHP Warning] mysqli_select_db() expects parameter 2 to be string, object given on line 21 in file /home/tmf/xaseco/includes/modernizer.inc.php
[XASECO Fatal Error] [LocalDB] Could not find MySQL database! on line 82 in file /home/tmf/xaseco/plugins/plugin.localdatabase.php
- YellowberryHN
- highway camper
- Posts: 3
- Joined: 31 Oct 2017 20:11
- Owned TM-games: TMNF
- Location: Utah, USA
- Contact:
Re: Rewriting XASECO for PHP 7 Compatibility
Alright, I just finished replacing all of the old mysql_ calls with mysqli_ calls in everything, including plugins, lets see if this works...
Will edit post with results.
Will edit post with results.