Dedimania forum

Feel free to express yourself on your favorite dedicated related tool.

You are not logged in.

#1 2017-08-17 18:03:38

GRT¬Ace °???°
0815lion
New member
Registered: 2017-08-17
Posts: 2

Error in method_handler.php(582)

Hey,
can you help me with an aseco/dedimania error?

Last line says incomplete aseco update, but the server runs for like 1 year with the aseco 1.16 and since a few weeks this error sometimes appears.
I think it may have something to do with banned dedimania players.

Would be nice if you can help me.

Thank you in advance
GRT Ace

The error started here:

Code:

[08/16,06:20:19] >> player 151 left the game [lowkeez : lowkeez : 00:26:33]
[08/16,06:20:21] xmlrpc_auth_cb() - response[Data][errors]
Array
(
    [Code] => 200
    [Reason] => OK
    [Headers] => Array
        (
            [Command] => Array
                (
                    [0] => HTTP/1.1
                    [1] => 200
                    [2] => OK
                )

            [date] => Array
                (
                    [0] => Wed
                    [1] =>  16 Aug 2017 04:20:19 GMT
                )

            [server] => Array
                (
                    [0] => Dedimania.8013
                )

            [accept-ranges] => Array
                (
                    [0] => bytes
                )

            [content-length] => Array
                (
                    [0] => 526
                )

            [keep-alive] => Array
                (
                    [0] => timeout=600
                    [1] =>  max=2000
                    [timeout] => 600
                    [max] => 2000
                )

            [connection] => Array
                (
                    [0] => Keep-Alive
                )

            [content-type] => Array
                (
                    [0] => text/xml; charset=UTF-8
                )

            [accept-encoding] => Array
                (
                    [0] => deflate
                    [1] =>  gzip
                )

            [content-encoding] => Array
                (
                    [0] => deflate
                )

            [set-cookie] => Array
                (
                    [0] => PHPSESSID=30e1728c9c4ecf4db84e4baa0af0209b; path=/
                )

        )

    [Message] => <?xml version="1.0" encoding="UTF-8" ?>
<methodResponse>
<params>
<param>
<value><array><data><value><struct><member><name>faultCode</name><value><string></string></value></member><member><name>faultString</name><value><string>Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';</string></value></member></struct></value><value><array><data><value><struct><member><name>Login</name><value><string>lowkeez</string></value></member></struct></value></data></array></value><value><array><data><value><struct><member><name>globalTTR</name><value><double>0.0015500000000001</double></value></member><member><name>methods</name><value><array><data><value><struct><member><name>methodName</name><value><string>dedimania.Authenticate</string></value></member><member><name>errors</name><value><string>Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';</string></value></member><member><name>TTR</name><value><double>0.00040899999999999</double></value></member></struct></value><value><struct><member><name>methodName</name><value><string>dedimania.PlayerLeave</string></value></member><member><name>errors</name><value><string></string></value></member><member><name>TTR</name><value><double>6.9999999999792E-6</double></value></member></struct></value></data></array></value></member></struct></value></data></array></value></data></array></value>
</param>
</params>
</methodResponse>
    [Data] => Array
        (
            [methodResponse] => dedimania.Authenticate
            [params] => Array
                (
                )

            [errors] => Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';
            [TTR] => 0.00040899999999999
            [globalTTR] => 0.0015500000000001
        )

)

[08/16,06:21:13] << player 143 joined the game [aviator2112 : aviator2112 : United States of America : 3257053 : 68.12.211.117]
[08/16,06:21:15] xmlrpc_auth_cb() - response[Data][errors]
Array
(
    [Code] => 200
    [Reason] => OK
    [Headers] => Array
        (
            [Command] => Array
                (
                    [0] => HTTP/1.1
                    [1] => 200
                    [2] => OK
                )

            [date] => Array
                (
                    [0] => Wed
                    [1] =>  16 Aug 2017 04:21:14 GMT
                )

            [server] => Array
                (
                    [0] => Dedimania.8013
                )

            [accept-ranges] => Array
                (
                    [0] => bytes
                )

            [content-length] => Array
                (
                    [0] => 525
                )

            [keep-alive] => Array
                (
                    [0] => timeout=600
                    [1] =>  max=2000
                    [timeout] => 600
                    [max] => 2000
                )

            [connection] => Array
                (
                    [0] => Keep-Alive
                )

            [content-type] => Array
                (
                    [0] => text/xml; charset=UTF-8
                )

            [accept-encoding] => Array
                (
                    [0] => deflate
                    [1] =>  gzip
                )

            [content-encoding] => Array
                (
                    [0] => deflate
                )

            [set-cookie] => Array
                (
                    [0] => PHPSESSID=30e1728c9c4ecf4db84e4baa0af0209b; path=/
                )

        )

    [Message] => <?xml version="1.0" encoding="UTF-8" ?>
<methodResponse>
<params>
<param>
<value><array><data><value><struct><member><name>faultCode</name><value><string></string></value></member><member><name>faultString</name><value><string>Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';</string></value></member></struct></value><value><struct><member><name>faultCode</name><value><string></string></value></member><member><name>faultString</name><value><string>Error in method_handler.php(655): Not Authenticated</string></value></member></struct></value><value><array><data><value><struct><member><name>globalTTR</name><value><double>0.001674</double></value></member><member><name>methods</name><value><array><data><value><struct><member><name>methodName</name><value><string>dedimania.Authenticate</string></value></member><member><name>errors</name><value><string>Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';</string></value></member><member><name>TTR</name><value><double>0.00039399999999999</double></value></member></struct></value><value><struct><member><name>methodName</name><value><string>dedimania.PlayerArrive</string></value></member><member><name>errors</name><value><string>Error in method_handler.php(655): Not Authenticated</string></value></member><member><name>TTR</name><value><double>2.6999999999999E-5</double></value></member></struct></value></data></array></value></member></struct></value></data></array></value></data></array></value>
</param>
</params>
</methodResponse>
    [Data] => Array
        (
            [methodResponse] => dedimania.Authenticate
            [params] => Array
                (
                )

            [errors] => Unknown Error in config.php(104): mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in config.php(119): Database connection failed
Unknown Error in method_helper.php(47): mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Error in method_handler.php(582): Query failure: SELECT Id,Status FROM tm3_server WHERE Id='48019';
            [TTR] => 0.00039399999999999
            [globalTTR] => 0.001674
        )

)

dedimania_playerconnect_cb - error(s): Error in method_handler.php(655): Not Authenticated
[XASECO Fatal Error] Incomplete XASECO update - includes/xmlrpc_db.inc.php is out of date! on line 447 in file /home/Short/xaseco/plugins/plugin.dedimania.php

Offline

#2 2017-08-28 07:41:55

TX-Slig
slig
Fast author / Dedimania maintainer
From: Traxicoland
Registered: 2006-11-23
Posts: 880
Website

Re: Error in method_handler.php(582)

Hi

Those are just after the reboot of the server (on wednesdays at about 6:10am cet).  It seems that the dedimania service start a little too early for the database. I just added a 2 minutes delay, i hope that it will be enough to avoid those errors.

Offline

#3 2017-08-28 18:05:22

GRT¬Ace °???°
0815lion
New member
Registered: 2017-08-17
Posts: 2

Re: Error in method_handler.php(582)

Okay thank you.

Offline

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson