Dedimania forum

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

You are not logged in.

#1 2018-02-13 22:43:05

????????.
tm2:the-big-gll.
New member
Registered: 2018-02-13
Posts: 2

multiple times errors thrown in log from dedimania

Hi Slig,
i get this error multiple times per week in the Logs of my TMF Servers

Code:

[02/13,20:32:58] 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] => Tue
                    [1] =>  13 Feb 2018 19:32:58 GMT
                )

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

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

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

            [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=xxx; 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</string></value></member></struct></value><value><array><data><value><struct><member><name>Uid</name><value><string>XWqbEORz4dDi3oXPWuWBP6Jy0de</string></value></member><member><name>TotalRaces</name><value><int>14</int></value></member><member><name>TotalPlayers</name><value><int>34</int></value></member><member><name>TimeAttackRaces</name><value><int>0</int></value></member><member><name>TimeAttackPlayers</name><value><int>0</int></value></member><member><name>NumberOfChecks</name><value><int>5</int></value></member><member><name>ServerMaxRecords</name><value><int>30</int></value></member><member><name>Records</name><value><array><data></data></array></value></member></struct></value></data></array></value><value><array><data><value><struct><member><name>globalTTR</name><value><double>0.0042589999999999</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</string></value></member><member><name>TTR</name><value><double>0.001455</double></value></member></struct></value><value><struct><member><name>methodName</name><value><string>dedimania.ChallengeRaceTimes</string></value></member><member><name>errors</name><value><string></string></value></member><member><name>TTR</name><value><double>0.001309</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
            [TTR] => 0.001455
            [globalTTR] => 0.0042589999999999
        )

)

Are there currently problems?

Last edited by tm2:the-big-gll. (2018-02-14 00:24:49)

Offline

#2 2018-02-14 07:57:21

Xymph
xymph
Moderator
Registered: 2009-05-26
Posts: 1610
Website

Re: multiple times errors thrown in log from dedimania

That's not an error, just a deprecation warning about the mysql extension in PHP v5.6 - you can ignore it.

Offline

#3 2018-02-14 16:55:11

????????.
tm2:the-big-gll.
New member
Registered: 2018-02-13
Posts: 2

Re: multiple times errors thrown in log from dedimania

That deprecation warnings cause PHP warnings in XAseco.

Code:

[PHP Warning] Illegal string offset 'Data' on line 292 in file /home/tmf/master_xaseco/includes/xmlrpc_db.inc.php
[PHP Warning] Illegal string offset 'Error' on line 917 in file /home/tmf/master_xaseco/includes/web_access.inc.php

beside that, it seems you even leak queries of other servers? And it is quite spammy, i get this now multiple times per hour. It makes the log files very unreadable and the files big

Code:

[02/14,06:21:35] 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] =>  14 Feb 2018 05:21:35 GMT
                )

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

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

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

            [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=1dfcd26f908fa5228eb10526d0676d02; 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='39134';</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(1088): Not Authenticated</string></value></member></struct></value><value><array><data><value><struct><member><name>globalTTR</name><value><double>0.000939</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='39134';</string></value></member><member><name>TTR</name><value><double>0.00018299999999999</double></value></member></struct></value><value><struct><member><name>methodName</name><value><string>dedimania.UpdateServerPlayers</string></value></member><member><name>errors</name><value><string>Error in method_handler.php(1088): Not Authenticated</string></value></member><member><name>TTR</name><value><double>9.9999999999822E-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='39134';
            [TTR] => 0.00018299999999999
            [globalTTR] => 0.000939
        )

)

dedimania_announce_cb - error(s): Error in method_handler.php(1088): Not Authenticated

Last edited by tm2:the-big-gll. (2018-02-14 19:10:42)

Offline

#4 2018-02-16 17:41:09

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

Re: multiple times errors thrown in log from dedimania

No recent change, so it can't be really new.

I'll look at it soon, thank you for the report

Offline

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson