[MYSQL] Xaesco2 cant connect to database

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

Moderators: Xymph, TM-Patrol

Post Reply
radek60130
highway camper
highway camper
Posts: 1
Joined: 28 Mar 2016 04:10
Owned TM-games: TM2S, TMT

[MYSQL] Xaesco2 cant connect to database

Post by radek60130 » 28 Mar 2016 04:14

Hi ! I tried to install Xaesco2 on my trackmania server, but i've got an error, when i try to ./XAesco2.sh, it works, but when i check logfile, there is only

Code: Select all

[XAseco2] PHP Version is 5.4.45-0+deb7u2 on Linux
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[XAseco2] Load plugin [plugin.dedimania.php]
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_karma.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [jfreu.plugin.php]
[XAseco2] Load plugin [mistral.idlekick.php]
[03/28,06:03:42] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[03/28,06:03:42] Try to authenticate with login 'SuperAdmin' and password 'PASSWORD'
[03/28,06:03:43] Connection established successfully !
[03/28,06:03:43] [LocalDB] Load config file [localdatabase.xml]
[03/28,06:03:43] [LocalDB] Try to connect to MySQL server on '127.0.0.1' with database 'xaseco2'
 
And it doesn't connect on my xaseco2 database :/

Anyone got an idea to solve this problem ?

And sorry for my bad english :/

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 03:38

I have the same issue but I get a little bit more. Also win10.

Code: Select all

The system cannot find the path specified.
The system cannot find the path specified.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 7.0.4 on WINNT
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Checkpoints has a deprecated constructor on line 34 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.checkpoints.php
[XAseco2] Load plugin [plugin.dedimania.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_RequestStd has a deprecated constructor on line 164 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_ResponseStd has a deprecated constructor on line 197 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Webaccess has a deprecated constructor on line 121 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; WebaccessUrl has a deprecated constructor on line 318 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; XmlrpcDB has a deprecated constructor on line 13 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\xmlrpc_db.inc.php
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; MXInfo has a deprecated constructor on line 230 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfosearcher.inc.php
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[04/06,03:33:18] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[04/06,03:33:18] Try to authenticate with login 'SuperAdmin' and password 'zxczxc123'
[04/06,03:33:18] Connection established successfully !
[04/06,03:33:18] [LocalDB] Load config file [localdatabase.xml]
[04/06,03:33:18] [LocalDB] Try to connect to MySQL server on '127.0.0.1' with database 'xaseco2'
Press any key to continue . . .

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 04:03

*UPDATE*

Fixed some things now it says...

Code: Select all

The system cannot find the path specified.
The system cannot find the path specified.
# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 7.0.4 on WINNT
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Checkpoints has a deprecated constructor on line 34 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.checkpoints.php
[XAseco2] Load plugin [plugin.dedimania.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_RequestStd has a deprecated constructor on line 164 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_ResponseStd has a deprecated constructor on line 197 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Webaccess has a deprecated constructor on line 121 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; WebaccessUrl has a deprecated constructor on line 318 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; XmlrpcDB has a deprecated constructor on line 13 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\xmlrpc_db.inc.php
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; MXInfo has a deprecated constructor on line 230 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfosearcher.inc.php
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[04/06,03:58:24] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[04/06,03:58:24] Try to authenticate with login 'SuperAdmin' and password 'zxczxc123'
[04/06,03:58:24] Connection established successfully !
[04/06,03:58:24] [LocalDB] Load config file [localdatabase.xml]
[04/06,03:58:24] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'xaseco2'
Press any key to continue . . .

Xymph
Pit Crew
Pit Crew
Posts: 5647
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: [MYSQL] Xaesco2 cant connect to database

Post by Xymph » 06 Apr 2016 07:02

Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 19:08

Well I installed the latest 64bit thread safe version of PHP5, this is what I got now (which I think is a step in the right direction) I had to modify path for PHP but now I have a ton of new errors...

Code: Select all

The system cannot find the path specified.
The system cannot find the path specified.
PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\php_mysql.dll' - The specified module could not be found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'ext\php_mysql.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Aseco has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php on line 140

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Aseco has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php on line 140
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; RecordList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RecordList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 23
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Player has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 106

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Player has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 106
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; PlayerList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 234

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PlayerList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 234
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Map has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 291

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Map has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 291
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; RPCCall has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 343

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RPCCall has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 343
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ChatCommand has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 362

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ChatCommand has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 362
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Server has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 379

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Server has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 379
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Gameinfo has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 441

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Gameinfo has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 441
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; MXInfoFetcher has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfofetcher.inc.php on line 24

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MXInfoFetcher has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfofetcher.inc.php on line 24
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Value has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 73

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Value has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 73
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Message has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 176

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Message has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 176
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Request has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 337

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Request has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 337
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Error has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 365

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Error has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 365
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Date has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 398

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Date has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 398
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Base64 has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 447

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Base64 has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 447
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Client_Gbx has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 464

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Client_Gbx has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 464
# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 7.0.4 on WINNT
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Checkpoints has a deprecated constructor on line 34 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.checkpoints.php
[XAseco2] Load plugin [plugin.dedimania.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_RequestStd has a deprecated constructor on line 164 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_ResponseStd has a deprecated constructor on line 197 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Webaccess has a deprecated constructor on line 121 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; WebaccessUrl has a deprecated constructor on line 318 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; XmlrpcDB has a deprecated constructor on line 13 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\xmlrpc_db.inc.php
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; MXInfo has a deprecated constructor on line 230 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfosearcher.inc.php
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[04/06,18:18:30] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[04/06,18:18:30] Try to authenticate with login 'SuperAdmin' and password 'zxczxc123'
[04/06,18:18:30] Connection established successfully !
[04/06,18:18:30] [LocalDB] Load config file [localdatabase.xml]
[04/06,18:18:30] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'xaseco2'
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php:69
Stack trace:
#0 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(1245): ldb_connect(Object(Aseco), NULL)
#1 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(766): Aseco->releaseEvent('onStartup', NULL)
#2 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(2471): Aseco->run('config.xml')
#3 {main}
  thrown in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php on line 69

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php:69
Stack trace:
#0 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(1245): ldb_connect(Object(Aseco), NULL)
#1 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(766): Aseco->releaseEvent('onStartup', NULL)
#2 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(2471): Aseco->run('config.xml')
#3 {main}
  thrown in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php on line 69
Press any key to continue . . .

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 19:10

PS I don't know anything about php so my guess is that its a configuration issue?

Im not using apache but I used the "How to install and configure php" part of this video... So, I have done everything shown here at least.

https://www.youtube.com/watch?v=kuMTZowwjus

It sais it cant find the DLL in the ext folder but it is there... so my suspicion at least for that first error is that drive:\phpdirectory\ext is being looked for in the wrong place... but I dont know where since it only tells me "ext\php_mysql.dll"

Update1: path changes didnt save, fixed.

Update2: now it complains that its not a valid win32 app, so I guess im off to get 32bit php.

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 20:04

Now it says....

Code: Select all

The system cannot find the path specified.
The system cannot find the path specified.
PHP Warning:  PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20151012
These options need to match
 in Unknown on line 0

Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20151012
These options need to match
 in Unknown on line 0
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Aseco has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php on line 140

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Aseco has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php on line 140
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; RecordList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RecordList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 23
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Player has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 106

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Player has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 106
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; PlayerList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 234

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PlayerList has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 234
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Map has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 291

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Map has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 291
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; RPCCall has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 343

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RPCCall has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 343
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ChatCommand has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 362

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ChatCommand has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 362
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Server has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 379

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Server has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 379
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Gameinfo has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 441

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Gameinfo has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\types.inc.php on line 441
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; MXInfoFetcher has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfofetcher.inc.php on line 24

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MXInfoFetcher has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfofetcher.inc.php on line 24
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Value has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 73

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Value has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 73
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Message has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 176

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Message has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 176
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Request has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 337

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Request has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 337
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Error has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 365

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Error has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 365
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Date has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 398

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Date has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 398
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Base64 has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 447

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Base64 has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 447
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Client_Gbx has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 464

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Client_Gbx has a deprecated constructor in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.inc.php on line 464
# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 7.0.4 on WINNT
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Checkpoints has a deprecated constructor on line 34 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.checkpoints.php
[XAseco2] Load plugin [plugin.dedimania.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_RequestStd has a deprecated constructor on line 164 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; IXR_ResponseStd has a deprecated constructor on line 197 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\GbxRemote.response.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; Webaccess has a deprecated constructor on line 121 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; WebaccessUrl has a deprecated constructor on line 318 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\web_access.inc.php
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; XmlrpcDB has a deprecated constructor on line 13 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\xmlrpc_db.inc.php
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[PHP 8192] Methods with the same name as their class will not be constructors in a future version of PHP; MXInfo has a deprecated constructor on line 230 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\includes\mxinfosearcher.inc.php
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[04/06,19:57:37] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[04/06,19:57:37] Try to authenticate with login 'SuperAdmin' and password 'zxczxc123'
[04/06,19:57:37] Connection established successfully !
[04/06,19:57:37] [LocalDB] Load config file [localdatabase.xml]
[04/06,19:57:37] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'xaseco2'
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php:69
Stack trace:
#0 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(1245): ldb_connect(Object(Aseco), NULL)
#1 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(766): Aseco->releaseEvent('onStartup', NULL)
#2 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(2471): Aseco->run('config.xml')
#3 {main}
  thrown in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php on line 69

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php:69
Stack trace:
#0 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(1245): ldb_connect(Object(Aseco), NULL)
#1 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(766): Aseco->releaseEvent('onStartup', NULL)
#2 C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\xaseco2.php(2471): Aseco->run('config.xml')
#3 {main}
  thrown in C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php on line 69
Press any key to continue . . .
Going to try the un-threaded version? Then keep rolling back one at a time till it works?

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 21:00

Some progress.... Now it sais:

Code: Select all

The system cannot find the path specified.
The system cannot find the path specified.
# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 5.6.20 on WINNT
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.tm-karma-dot-com.php]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.songmod.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[XAseco2] Load plugin [plugin.dedimania.php]
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[04/06,20:52:31] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[04/06,20:52:31] Try to authenticate with login 'SuperAdmin' and password 'zxczxc123'
[04/06,20:52:31] Connection established successfully !
[04/06,20:52:31] [LocalDB] Load config file [localdatabase.xml]
[04/06,20:52:31] [LocalDB] Try to connect to MySQL server on '127.0.0.1' with database 'xaseco2'
[PHP 8192] mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead on line 71 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php
[XASECO2 Fatal Error] [LocalDB] Could not find MySQL database! on line 76 in file C:\Users\Elie\Desktop\TM2 SERVER\xaseco2\plugins\plugin.localdatabase.php
Press any key to continue . . .
But I can promise you as far as I know... the DB is there... SQL sees it and lets me log into it through the workbench... with the same credentials used in the localdatabase.xml in xaseco....

Naveronasis
road tourist
road tourist
Posts: 90
Joined: 01 May 2008 21:20
Owned TM-games: United

Re: [MYSQL] Xaesco2 cant connect to database

Post by Naveronasis » 06 Apr 2016 22:10

Now I think its because my SQL is the latest version... but I don't know how to roll back. (yet)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests