Page 3 of 10

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 10 Jun 2017, 12:44
by Shrike
On my linux server the webrequest.php logs some warnings to the console from where it was started.

Code: Select all

PHP Warning:  file_get_contents(http://europe.mania-karma.com/api/maniaplanet-trackmania2-v4.php?Action=Ping&login=*******&authcode=**********): failed to open stream: HTTP request failed!  in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(): SSL: Handshake timed out in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(): Failed to enable crypto in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(https://www.UASECO.org/usagereport.php): failed to open stream: operation failed in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(https://www.UASECO.org/usagereport.php): failed to open stream: Connection refused in /srv/tm2/time/UASECO/webrequest.php on line 173
Would be nice if that went into to uaseco log or even it's own log file. ;)

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 12 Jun 2017, 14:21
by fiendy
Shrike wrote: 10 Jun 2017, 12:44 On my linux server the webrequest.php logs some warnings to the console from where it was started.

Code: Select all

PHP Warning:  file_get_contents(http://europe.mania-karma.com/api/maniaplanet-trackmania2-v4.php?Action=Ping&login=*******&authcode=**********): failed to open stream: HTTP request failed!  in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(): SSL: Handshake timed out in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(): Failed to enable crypto in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(https://www.UASECO.org/usagereport.php): failed to open stream: operation failed in /srv/tm2/time/UASECO/webrequest.php on line 173
PHP Warning:  file_get_contents(https://www.UASECO.org/usagereport.php): failed to open stream: Connection refused in /srv/tm2/time/UASECO/webrequest.php on line 173
Would be nice if that went into to uaseco log or even it's own log file. ;)
Just redirect it to a logfile of your choice in the start script:-

Code: Select all

php -d allow_url_fopen=on -d safe_mode=0 webrequest.php TM2 2>>logs/webrequest.log 1>&2 &

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 13 Jun 2017, 10:36
by SSM.Speed...
Hello
It is necessary to revive the method of calculation rank server
The version 0.93 use because the 0.95 I have not been able to recalculate the ranks server that is why I use the 0.93
SSM VeryShort 2.7 G database

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 13 Jun 2017, 11:41
by Flighthigh
After the update to 0.9.5 i have some messages in the log after the start

first

Code: Select all

[PHP Notice] Undefined index: plugin_description on line 125 in file /home/tm/mp4-object/uaseco/includes/core/locales.class.php
and some row later

Code: Select all

[PHP Notice] Undefined index: WARM_UP_NUMBER on line 465 in file /home/TM/mp4-object/uaseco/plugins/plugin.modescript_handler.php
[PHP Notice] Undefined index: WARM_UP_DURATION on line 466 in file /home/tm/mp4-object/uaseco/plugins/plugin.modescript_handler.php
and at the end of the start

Code: Select all

[PHP Notice] Undefined variable: message on line 173 in file /home/tm/mp4-object/uaseco/plugins/plugin.autotime.php
[2017-06-13 12:27:31] [Event] Begin Map

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 14 Jun 2017, 16:23
by SSM.Speed...
salut
idem
[PHP Notice] Undefined index: plugin_description on line 125 in file /home/tm/mp4-object/uaseco/includes/core/locales.class.php

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 15 Jun 2017, 07:40
by Flighthigh
This is a log out from the Webrequest.php after a new start of the Uaseco 0.9.5

Code: Select all

PHP Warning:  file_get_contents(http://europe.mania-karma.com/api/maniaplanet-trackmania2-v4.php?Action=Ping&login=xxxXXXXxxx&authcode=4e9a1fc39c96ecd738493d3a067e68f6): failed to open stream: HTTP request failed!  in /home/tm/mp4-object/uaseco/webrequest.php on line 173
PHP Warning:  file_get_contents(): SSL: Handshake timed out in /home/tm/mp4-object/uaseco/webrequest.php on line 173
PHP Warning:  file_get_contents(): Failed to enable crypto in /home/tm/mp4-object/uaseco/webrequest.php on line 173
PHP Warning:  file_get_contents(https://www.UASECO.org/usagereport.php): failed to open stream: operation failed in /home/tm/mp4-object/uaseco/webrequest.php on line 173
PHP Warning:  file_get_contents(http://www.mania-karma.com/api/plugin-releases.xml): failed to open stream: HTTP request failed!  in /home/tm/mp4-object/uaseco/webrequest.php on line 173

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 15 Jun 2017, 15:35
by undef.de
Shrike wrote: 10 Jun 2017, 12:44 On my linux server the webrequest.php logs some warnings to the console from where it was started.
Would be nice if that went into to uaseco log or even it's own log file. ;)
Done. :thumbsup:


fiendy wrote: 12 Jun 2017, 14:21 Just redirect it to a logfile of your choice in the start script:-

Code: Select all

php -d allow_url_fopen=on -d safe_mode=0 webrequest.php TM2 2>>logs/webrequest.log 1>&2 &
True, changed that, thanks! :thumbsup:


SSM.Speed... wrote: 13 Jun 2017, 10:36 The version 0.93 use because the 0.95 I have not been able to recalculate the ranks server that is why I use the 0.93
SSM VeryShort 2.7 G database
What is not working?
Btw. 0.9.5 has fixed the wrong ranking calculation:
  • Fixed wrong calculation of a player ranking average (thanks rasmusdk)
  • Fixed wrong rank counting in a private function _getPlayerRankingById() at includes/core/player.class.php (thanks rasmusdk)
  • Fixed buggy welcome message since the rank calculation changes (thanks rasmusdk)

Flighthigh wrote: 13 Jun 2017, 11:41

Code: Select all

[PHP Notice] Undefined index: plugin_description on line 125 in file /home/tm/mp4-object/uaseco/includes/core/locales.class.php
It seems your locales/plugin.info_bar.xml is not up-to-date.


Flighthigh wrote: 13 Jun 2017, 11:41

Code: Select all

[PHP Notice] Undefined variable: message on line 173 in file /home/tm/mp4-object/uaseco/plugins/plugin.autotime.php
Fixed while working on report viewtopic.php?p=287257#p287257 :thumbsup:


Flighthigh wrote: 13 Jun 2017, 11:41

Code: Select all

[PHP Notice] Undefined index: WARM_UP_NUMBER on line 465 in file /home/TM/mp4-object/uaseco/plugins/plugin.modescript_handler.php
[PHP Notice] Undefined index: WARM_UP_DURATION on line 466 in file /home/tm/mp4-object/uaseco/plugins/plugin.modescript_handler.php
See my answer for speedychris' report: viewtopic.php?p=287246#p287246

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 15 Jun 2017, 16:31
by Flighthigh
undef.de wrote: 15 Jun 2017, 15:35
Flighthigh wrote: 13 Jun 2017, 11:41

Code: Select all

[PHP Notice] Undefined index: plugin_description on line 125 in file /home/tm/mp4-object/uaseco/includes/core/locales.class.php
It seems your locales/plugin.info_bar.xml is not up-to-date.
Sorry but on the Server runs the plugin.info_bar.xml from the 03.06.2017-17:50. This is the one from the 0.9.5 Zip-Pack.

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 15 Jun 2017, 16:36
by undef.de
Then it is an other locales file, just copy all of the files from newinstall/locales to locales/, that should fix it... unless I missed something, then you have to wait till 0.9.6 is out, because there is a better diagnostic message included.

Re: UASECO 0.9.5 (2017-06-08) released

Posted: 15 Jun 2017, 18:30
by rasmusdk
'Next Map' widget does not work properly ...
If you select a 'Map' in the jukebox, the widget do not update.
As a result, click on 'Current Map' widget (> playlist overview) shows an incorrect 'Map'.