Page 1 of 1

Not sure what im doing wrong

Posted: 26 Jul 2011, 23:46
by amnsia
Here is the start up of teh manialive and it does the following so can someone help please

amns

################################## ###################################
################################## ###################################
###
################ ################ ### ############ ########### ###
################ ################ ### ############ ########### ###
### ### ### ### ### ### ### ###
### ### ### ### ### ### ### ###
### ### ### ### ### ### ### ###
### ### ### ### ### ### ### ###
### ### ### ### ### ### ### ###
### ### ### ### ### ### ### ###
ManiaLive
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer -> required -> [ Yes ] 5.3.5
Standard PHP Library -> required -> [ Yes ]
JSON -> required -> [ Yes ]
OpenSSL -> required -> [ Yes ]
cURL with SSL -> required -> [ Yes ] 7.20.0 (OpenSSL/0.9.8q) (with Open
SSL/0.9.8q)
SQLite -> optionnal -> [ Yes ]
-----------------------------------------------------

-> ErrorException with code 0
fsockopen(): unable to connect to localhost:5000 (No connection could
be made because the target machine actively refused it.
)
- in C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\DedicatedApi\X
mlrpc\Client_Gbx.php on line 115
- Stack: #0 [internal function]:
ManiaLive\Application\ErrorHandling::createExceptionFromError(2,
'fsockopen(): un...', 'C:\Documents an...', 115, Array)
#1 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\DedicatedApi\X
mlrpc\Client_Gbx.php(115): fsockopen('localhost', 5000, 10061, 'No
connection c...', 1)
#2 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\DedicatedApi\X
mlrpc\Client_Gbx.php(101):
ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->init('localhost', 5000)
#3 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\DedicatedApi\C
onnection.php(78):
ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->__construct('localhost', 5000)
#4 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLib\Utils\Singleton
.php(23): ManiaLive\DedicatedApi\Connection->__construct()
#5 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\DedicatedApi\C
onnection.php(65): ManiaLib\Utils\Singleton::getInstance()
#6 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\Application\Ab
stractApplication.php(106):
ManiaLive\DedicatedApi\Connection::getInstance()
#7 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLiveApplication\App
lication.php(38): ManiaLive\Application\AbstractApplication->init()
#8 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\libraries\ManiaLive\Application\Ab
stractApplication.php(137): ManiaLiveApplication\Application->init()
#9 C:\Documents and
Settings\ars\Desktop\FZmicro\manialive\bootstrapper.php(82):
ManiaLive\Application\AbstractApplication->run()
#10 {main}

Press any key to continue . . .

Re: Not sure what im doing wrong

Posted: 27 Jul 2011, 00:46
by The_Big_Boo
Did you launch TM before the dedicated? If so, port 5000 is taken by the game and the dedicated is using port 5001.

There are 2 solutions:
- launch the dedicated before the game (but you'll have to always respect this order)
- force another port than 5000 (5001 for example) in dedicated config and manialive config

Re: Not sure what im doing wrong

Posted: 27 Jul 2011, 19:00
by amnsia
I will give those a go and see how it goes

Thanks