XASECO - TMLOGIN Error

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
Tunnelwalker
highway camper
highway camper
Posts: 4
Joined: 08 Oct 2020 12:00
Owned TM-games: Nations Forever

XASECO - TMLOGIN Error

Post by Tunnelwalker » 03 Nov 2020 13:57

Hello,

i just installed a TM United Forever Dedicated Server - Works fine.
Now i would like to add the xaseco plugin.
I configured step by step like shown in this manual: http://www.gamers.org/tmf/quickstart.html
But now i have this error message when i start Xaseco:

Code: Select all

# initialize XASECO ###########################################################
[XAseco] PHP Version is 7.4.11 on WINNT
[XAseco] Load settings [config.xml]
[PHP Warning] Illegal string offset 'TMLOGIN' on line 77 in file C:\tmnations\xaseco\includes\xmlparser.inc.php
PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in C:\tmnations\xaseco\includes\xmlparser.inc.php:77
Stack trace:
#0 [internal function]: Examsly->closeTag(Resource id #14, 'TMLOGIN')
#1 C:\tmnations\xaseco\includes\xmlparser.inc.php(44): xml_parse(Resource id #14, '<?xml version="...')
#2 C:\tmnations\xaseco\aseco.php(220): Examsly->parseXml('config.xml', true, false)
#3 C:\tmnations\xaseco\aseco.php(697): Aseco->loadSettings('config.xml')
#4 C:\tmnations\xaseco\aseco.php(2561): Aseco->run('config.xml')
#5 {main}
  thrown in C:\tmnations\xaseco\includes\xmlparser.inc.php on line 77

Fatal error: Uncaught Error: Cannot use string offset as an array in C:\tmnations\xaseco\includes\xmlparser.inc.php:77
Stack trace:
#0 [internal function]: Examsly->closeTag(Resource id #14, 'TMLOGIN')
#1 C:\tmnations\xaseco\includes\xmlparser.inc.php(44): xml_parse(Resource id #14, '<?xml version="...')
#2 C:\tmnations\xaseco\aseco.php(220): Examsly->parseXml('config.xml', true, false)
#3 C:\tmnations\xaseco\aseco.php(697): Aseco->loadSettings('config.xml')
#4 C:\tmnations\xaseco\aseco.php(2561): Aseco->run('config.xml')
#5 {main}
  thrown in C:\tmnations\xaseco\includes\xmlparser.inc.php on line 77

Here my config.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<settings>
  <aseco>
    <masteradmins>
    <tmlogin>xxxx</tmlogin>
    </masteradmins>
...
  </aseco>

  <tmserver>
    <login>SuperAdmin</login>
    <password>xxxx</password>
    <ip>127.0.0.1</ip>
    <port>5000</port>
    <timeout>180</timeout>
  </tmserver>
</settings>

Could anyone help me?

Thanks :-)

Tunnelwalker
highway camper
highway camper
Posts: 4
Joined: 08 Oct 2020 12:00
Owned TM-games: Nations Forever

Re: XASECO - TMLOGIN Error

Post by Tunnelwalker » 04 Nov 2020 09:44

I installed Wamp (MySQL & PHP) and it works now.

______________________ Versions used ______________________
Apache 2.4.46 Port 80 - PHP 7.3.21
MySQL 5.7.31 Port 3306
MariaDB 10.4.13 Port 3307
PHP 5.6.40 for CLI (Command-Line Interface)

Post Reply