Error with ManiaLive r267

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
Rido
Posts: 2
Joined: 17 May 2012, 19:16

Error with ManiaLive r267

Post by Rido »

Hello,

When I try to start Manialive1_r267 I get the following error:

Code: Select all

Critical startup error!
 -> ErrorException with code 0
    array_key_exists() expects parameter 2 to be array, boolean given
  - in
      E:\Users\doubledutchclan\3\ManiaLive1_r267\libraries\ManiaLive\Applicatio
      n\CommandLineInterpreter.php on line 30
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExceptionFromError(2,
      'array_key_exist...', 'E:\Users\double...', 30, Array)
           #1
      E:\Users\doubledutchclan\3\ManiaLive1_r267\libraries\ManiaLive\Applicatio
      n\CommandLineInterpreter.php(30): array_key_exists('manialive_cfg',
      false)
           #2
      E:\Users\doubledutchclan\3\ManiaLive1_r267\libraries\ManiaLive\Applicatio
      n\AbstractApplication.php(53):
      ManiaLive\Application\CommandLineInterpreter::preConfigLoad()
           #3
      E:\Users\doubledutchclan\3\ManiaLive1_r267\libraries\ManiaLiveApplication
      \Application.php(33):
      ManiaLive\Application\AbstractApplication->__construct()
           #4
      E:\Users\doubledutchclan\3\ManiaLive1_r267\libraries\ManiaLib\Utils\Singl
      eton.php(23): ManiaLiveApplication\Application->__construct()
           #5
      E:\Users\doubledutchclan\3\ManiaLive1_r267\bootstrapper.php(82):
      ManiaLib\Utils\Singleton::getInstance()
           #6 {main}
My run.bat is:

Code: Select all

@echo off

REM read configuration file
FOR /F "tokens=2 delims==" %%a IN ('find "phpPath" ^<run.ini') DO SET phpPath=%%a

IF _%phpPath%==_ SET phpPath="php.exe"

%phpPath% bootstrapper.php --manialive_cfg=config.ini

pause
How can I fix this problem?

Many thanks.
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: Error with ManiaLive r267

Post by farfa »

Remove --manialive_cfg=config.ini from your Run.bat.
The default config file is config.ini so you won't have any problem
Also known as: satanasdiabolo
Rido
Posts: 2
Joined: 17 May 2012, 19:16

Re: Error with ManiaLive r267

Post by Rido »

Well ManiaLive works fine now. But now I've got a problem with Freezone.
I registered the server account as Freezone and I enabled the Freezone plugin.
The output looks ok:

Code: Select all

ManiaLive
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.4.0
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
OpenSSL               -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.24.0 (OpenSSL/0.9.8t) (with Open
SSL/0.9.8t)
SQLite                -> optional  -> [ No  ]
-----------------------------------------------------
SQLite is disabled, threading will not work. ManiaLive may encounter some perfom
ance trouble.[20:27:39] XML-RPC connection established
[20:27:39] Successfully authentified with XML-RPC server
Threading will be disabled, enable the 'SQLite' extension on your system!
[Attention] Threading disabled - this may cause performance issues!
[20:27:39] Current map: TMM-PayBack¬xT.
[PluginHandler] Start plugin load process:
[PluginHandler] is loading Freezone\Freezone ...
[PluginHandler] is loading Reaby\XasecoIntegration ...
[20:27:39] [Xaseco Integration] Plugin: v0.31 by reaby.
[PluginHandler] All registered plugins have been loaded
On the website http://developers.trackmania.com I see some API requests but the server isn't Freezone.
How's that possible?

Could somebody help me?

Thank you!
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest