error when starting manialive

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

Moderator: NADEO

Post Reply
peugeot405srd
Posts: 3
Joined: 20 Feb 2011, 13:49

error when starting manialive

Post by peugeot405srd »

when starting manialive i'm getting following error;

Code: Select all

 -> ErrorException with code 0
    unpack(): Type V: not enough input, need 4, have 0
  - in
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp on line 118
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExcpetionFromError(2,
      'unpack(): Type ...', 'D:\Servers\Mani...', 118, Array)
           #1
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(118): unpack('Vsize', '')
           #2
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(98): ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->init('localhost',
      '2372')
           #3
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(89):
      ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->__construct('localhost',
      '2372')
           #4
      D:\Servers\ManiaLive\libraries\ManiaLive\Utilities\Singleton.php(24):
      ManiaLive\DedicatedApi\Connection->__construct()
           #5
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(65):
      ManiaLive\Utilities\Singleton::getInstance()
           #6
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.
      php(97): ManiaLive\DedicatedApi\Connection::getInstance()
           #7
      D:\Servers\ManiaLive\libraries\ManiaLiveApplication\Application.php(36):
      ManiaLive\Application\AbstractApplication->init()
           #8
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.
      php(122): ManiaLiveApplication\Application->init()
           #9 D:\Servers\ManiaLive\bootstrapper.php(19):
      ManiaLive\Application\AbstractApplication->run()
           #10 {main}
how can i fix this?
User avatar
aseco
Posts: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: error when starting manialive

Post by aseco »

peugeot405srd wrote:when starting manialive i'm getting following error;

Code: Select all

 -> ErrorException with code 0
    unpack(): Type V: not enough input, need 4, have 0
  - in
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp on line 118
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExcpetionFromError(2,
      'unpack(): Type ...', 'D:\Servers\Mani...', 118, Array)
           #1
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(118): unpack('Vsize', '')
           #2
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(98): ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->init('localhost',
      '2372')
           #3
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(89):
      ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->__construct('localhost',
      '2372')
           #4
      D:\Servers\ManiaLive\libraries\ManiaLive\Utilities\Singleton.php(24):
      ManiaLive\DedicatedApi\Connection->__construct()
           #5
      D:\Servers\ManiaLive\libraries\ManiaLive\DedicatedApi\Connection.php(65):
      ManiaLive\Utilities\Singleton::getInstance()
           #6
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.
      php(97): ManiaLive\DedicatedApi\Connection::getInstance()
           #7
      D:\Servers\ManiaLive\libraries\ManiaLiveApplication\Application.php(36):
      ManiaLive\Application\AbstractApplication->init()
           #8
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.
      php(122): ManiaLiveApplication\Application->init()
           #9 D:\Servers\ManiaLive\bootstrapper.php(19):
      ManiaLive\Application\AbstractApplication->run()
           #10 {main}
how can i fix this?
Hi, this is a wild guess, but can you try to search for mbstring.func_overload in your php.ini and if you find it, change it to "0"?

Another guess is that you are not connected to the dedicated server but anything else?
Start your dedicated server and see the text: Listening for XMLRPC commands on port 500x
Is this identical with your ManiaLive config value?
Another way to fix it:
I just assume you are running windows, because you did not provide any other information:
1) close your tm game, close your dedicated server and ManiaLive
2) open cmd.exe as administrator and execute netstat -p tcp -n -b | find /i ":5000"
3) is there any program using port 5000?
4) if yes, then close it using taskmanager
5) start the dedicated server
6) start manialive.
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
peugeot405srd
Posts: 3
Joined: 20 Feb 2011, 13:49

Re: error when starting manialive

Post by peugeot405srd »

Sorry about the missing info. Was going to post it today. the server is indeed running on windows and i use mowes portable 2 to connect to the aseco database. I also updated the php to version 5.3.5.0
It seems i entered the server port instead of the XMLRPC port. now manialive connects to the server, the track is shown and the plugins are loaded (freezone plugin & asecointegration), but i still getting errors.

Code: Select all

 -> ErrorException with code 0
    Use of undefined constant CURLOPT_URL - assumed 'CURLOPT_URL'
  - in D:\Servers\ManiaLive\libraries\ManiaLib\Rest\Client.php on line
      132
  - Stack: #0
      D:\Servers\ManiaLive\libraries\ManiaLib\Rest\Client.php(132):
      ManiaLive\Application\ErrorHandling::createExcpetionFromError(8, 'Use of
      undefine...', 'D:\Servers\Mani...', 132, Array)
           #1
      D:\Servers\ManiaLive\libraries\ManiaLive\Features\Updater.php(63):
      ManiaLib\Rest\Client->execute('GET', '/manialive/vers...')
           #2
      D:\Servers\ManiaLive\libraries\ManiaLive\Features\Updater.php(47):
      ManiaLive\Features\Updater->checkUpdate()
           #3
      D:\Servers\ManiaLive\libraries\ManiaLive\Features\Tick\Event.php(26):
      ManiaLive\Features\Updater->onTick()
           #4
      D:\Servers\ManiaLive\libraries\ManiaLive\Event\Dispatcher.php(52):
      ManiaLive\Features\Tick\Event->fireDo(Object(ManiaLive\Features\Updater))
           #5
      D:\Servers\ManiaLive\libraries\ManiaLive\Features\Tick\Ticker.php(32):
      ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Features\Tick\Event
      ))
           #6
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\Event.php(36):
      ManiaLive\Features\Tick\Ticker->onPreLoop()
           #7
      D:\Servers\ManiaLive\libraries\ManiaLive\Event\Dispatcher.php(52):
      ManiaLive\Application\Event->fireDo(Object(ManiaLive\Features\Tick\Ticker
      ))
           #8
      D:\Servers\ManiaLive\libraries\ManiaLive\Application\AbstractApplication.
      php(129):
      ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #9 D:\Servers\ManiaLive\bootstrapper.php(19):
      ManiaLive\Application\AbstractApplication->run()
           #10 {main}
peugeot405srd
Posts: 3
Joined: 20 Feb 2011, 13:49

Re: error when starting manialive

Post by peugeot405srd »

nevermind, problem solved :)

was able to enable curl in php and everything is working fine now.
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest