I try to use ManiaLive with my TM2 server, but I always get this "Not a server" error:
Code: Select all
ManiaLive
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer -> required -> [ Yes ] 5.3.5
Standard PHP Library -> required -> [ Yes ]
JSON -> required -> [ Yes ]
cURL with SSL -> required -> [ Yes ] 7.20.0 (OpenSSL/0.9.8q) (with Open
SSL/0.9.8q)
SQLite -> optionnal -> [ Yes ]
-----------------------------------------------------
[20:52:31] XML-RPC connection established
[20:52:31] Successfully authentified with XML-RPC server
[Attention] Threading disabled - this may cause performance issues!
-> ManiaLive\DedicatedApi\Xmlrpc\Exception with code -1000
Not a server.
- in D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client.php on
line 270
- Stack: #0 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client.php(29
6): ManiaLive\DedicatedApi\Xmlrpc\Client->getResult()
#1 [internal function]:
ManiaLive\DedicatedApi\Xmlrpc\Client->query('SendDisplayMani...', '', 0,
false)
#2 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(137):
call_user_func_array(Array, Array)
#3 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(770):
ManiaLive\DedicatedApi\Connection->execute('SendDisplayMani...', Array,
false)
#4 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\Gui\Handler\GuiHandler.php(164):
ManiaLive\DedicatedApi\Connection->sendDisplayManialinkPage(NULL, '', 0,
false)
#5 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.p
hp(131): ManiaLive\Gui\Handler\GuiHandler::hideAll()
#6 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLiveApplication\Application.php(36):
ManiaLive\Application\AbstractApplication->init()
#7 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.p
hp(141): ManiaLiveApplication\Application->init()
#8 D:\Biblioteker\Servere\Trackmania\2
Canyon\01\ManiaLive\bootstrapper.php(80):
ManiaLive\Application\AbstractApplication->run()
#9 {main}

Config.ini:
Code: Select all
;------------------
; ManiaLive
;------------------
; the default path is 'php.exe' on windows and 'php' on linux
config.phpPath = D:\Biblioteker\Servere\Xampp\php\php.exe
; the default is %application%/logs
; config.logsPath = /var/logs
; whether to write console output into a file, default is Off
; config.runtimeLog = On
;------------------
; Dedicated Server
;------------------
;server.host = '127.0.0.1'
;server.port = 5000
; standard user level is SuperAdmin
;server.user = 'SuperAdmin'
;server.password = 'fff'
; when a connection can't be established after the given amount
; of time, it will timeout and manialive will shutdown.
; server.timeout = 1
;------------------
; Runtime Features
;------------------
; Add admins, that shall be able to control your server from game.
manialive.admins[] = 'erlendb'
manialive.admins[] = 'weeeee'
; Add plugins to load.
; manialive.plugins[] = 'Author\PluginName'
; Plugins configuration
; ManiaLivePlugins\Author\PluginName\Config.name = value
;
; You can also declare aliases to make it easier, the following two lines
; are equivalent to the previous one
; alias myplugin = 'ManiaLivePlugins\Author\PluginName\Config'
; myplugin.name = value
;------------------
; Database
;------------------
; enabled by default
; database.enable = true
; Connection configuration
database.host = '127.0.0.1'
database.port = 3306
database.username = 'root'
database.password = 'fff'
; Default database name
database.database = 'ManiaLive'
; Connection type: MySQL (by default) or SQLite
;database.type = 'MySQL'
;------------------
; Threading
;------------------
; threading can improve performance of your application. it
; allows modules to push blocking work onto another processes,
; this can also improve stability, because timeouts or
; unexpected exceptions do not impact the main application.
; if you have stability problems try to deactivate threading first
threading.enabled = false
; how long may a thread be busy until it is killed
; threading.busyTimeout = 20
; how long, if not busy, may it take for a thread to response to a ping
; threading.pingTimeout = 2
; how many jobs should be send on each loop.
; increasing this value will boost jobs/time
; decreasing it will result in a reaction time improvement.
; threading.chunkSize = 10
; if threading is disabled, then how much time should be spend on
; each application loop to process work that would have been assigned
; to other threads normally
; default value is 1 second.
; threading.sequentialTimeout = 1
;------------------
; ManiaHome
;------------------
; enabling the maniahome feature allows other modules to send
; notifications about eg. records or other actions on your
; server to player's friends.
; disabled by default.
; maniahome.enabled = true
; maniahome.user = ''
; maniahome.password = ''
; maniahome.manialink = ''
;------------------
;[hostname: testHost]
;------------------
; put here the configuration specific to an host