Page 3 of 4

Re: What is ManiaControl?

Posted: 20 Apr 2014, 13:00
by steeffeen
readme.txt wrote:- In the current nightly release there is no 5.3 support (it should come soon)
you will need php 5.4 for the current test release

Re: What is ManiaControl?

Posted: 20 Apr 2014, 17:01
by franck70
Hi all , first of all : Great Job :thumbsup:

Unfortunately, I have a problem :( , ManiaControl crash :

Code: Select all

[ManiaControl EXCEPTION]: Connection interrupted while reading header
Class: Maniaplanet\DedicatedServer\Xmlrpc\TransportException
Trace:
#0 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(189): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->readMessage()
#1 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(124): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->flush(true)
#2 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Connection.php(133): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->query('SendDisplayMani...', Array)
#3 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Connection.php(813): Maniaplanet\DedicatedServer\Connection->execute('SendDisplayMani...', Array, false)
#4 /home/franck/ManiaControlCTF/core/Manialinks/ManialinkManager.php(146): Maniaplanet\DedicatedServer\Connection->sendDisplayManialinkPage('ootchoo', '<?xml version="...', 0, false)
#5 /home/franck/ManiaControlCTF/plugins/QueuePlugin.php(556): ManiaControl\Manialinks\ManialinkManager->sendManialink(Object(FML\ManiaLink), 'ootchoo')
#6 /home/franck/ManiaControlCTF/plugins/QueuePlugin.php(233): QueuePlugin->hideQueueWidget(Object(ManiaControl\Players\Player))
#7 [internal function]: QueuePlugin->handlePlayerInfoChanged(Array)
#8 /home/franck/ManiaControlCTF/core/Callbacks/CallbackManager.php(163): call_user_func_array(Array, Array)
#9 /home/franck/ManiaControlCTF/core/Callbacks/CallbackManager.php(238): ManiaControl\Callbacks\CallbackManager->triggerCallback('ManiaPlanet.Pla...', Array)
#10 /home/franck/ManiaControlCTF/core/Callbacks/CallbackManager.php(199): ManiaControl\Callbacks\CallbackManager->handleCallback(Array)
#11 /home/franck/ManiaControlCTF/core/ManiaControl.php(347): ManiaControl\Callbacks\CallbackManager->manageCallbacks()
#12 /home/franck/ManiaControlCTF/ManiaControl.php(110): ManiaControl\ManiaControl->run()
#13 {main}
Exception successfully reported!
PHP Fatal error:  Uncaught exception 'Maniaplanet\DedicatedServer\Xmlrpc\TransportException' with message 'Connection interrupted while reading header' in /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php:217
Stack trace:
#0 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(189): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->readMessage()
#1 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(124): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->flush(true)
#2 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Connection.php(133): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->query('ChatSendServerM...', Array)
#3 /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Connection.php(617): Maniaplanet\DedicatedServer\Connection->execute('ChatSendServerM...', Array, false)
#4 /home/franck/ManiaControlCTF/core/Chat.php(77): Maniaplanet\DedicatedServer\Connection->chatSendServerMessage('$z$<?? $f in /home/franck/ManiaControlCTF/core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on line 217
20.Apr 14 17:47:55 Quitting ManiaControl!
Thxs for help ^^

Re: What is ManiaControl?

Posted: 21 Apr 2014, 03:46
by nighthawk4571
steeffeen wrote:
readme.txt wrote:- In the current nightly release there is no 5.3 support (it should come soon)
you will need php 5.4 for the current test release
I have updated my php to latest version - no good result yet but I've had some guidance from Oliver and Reaby in-game (on my active server), which has helped with the bugs. We'll get there... :shock:

Re: What is ManiaControl?

Posted: 21 Apr 2014, 21:37
by nighthawk4571
Using latest package (v094) this is what I get.

With command - php ManiaControl.php:

Code: Select all

Checking for installed MySQLi ... FOUND!
Checking for installed cURL   ... FOUND!
20.Apr 14 21:48:22 Loading ManiaControl v0.01...
20.Apr 14 21:48:22 Starting ManiaControl v0.01!
20.Apr 14 21:48:22 Connecting to server at 127.0.0.1:5040...
20.Apr 14 21:48:23 Server Connection successfully established!

PHP Parse error:  syntax error, unexpected '[' in /home/BagRacing/TM3/application/plugins/Dedimania/Dedimania.php on line 812
20.Apr 14 21:48:24 Quitting ManiaControl
Then with command - ManiaControl.sh:

Code: Select all

Starting ManiaControl ...
Checking for installed MySQLi ... FOUND!
Checking for installed cURL   ... FOUND!
22.Apr 14 06:12:07 Loading ManiaControl v0.01...
22.Apr 14 06:12:07 Starting ManiaControl v0.01!
22.Apr 14 06:12:07 Connecting to server at 127.0.0.1:5040...
22.Apr 14 06:12:07 Server Connection successfully established!
22.Apr 14 06:12:08 Quitting ManiaControl!
Again, it was necessary to deal with the DOS formatting on the .php and .sh files before I tried the above commands, as i got the 'No such file or directory' message.

... frustration sets in ... :( . So I'm still running good ol' XAseco2, so the server looks complete in-game.

Re: What is ManiaControl?

Posted: 21 Apr 2014, 22:01
by oliverde8
well it seems by trying to try both eXpansion and ManiaControl at the same time you started to confuse things :D . rying to make it work by waking up earlier before going to job surely doesen't help.

094 is actually the version of eXpansion you were trying, even through the logs are ManiaControls logs. developers of MC will confirm this but at the moment you need php 5.4 to run it as I told you on your server the other day. You have php 5.3 since you updated.
for eXpansion you need to get the last realese not the preview we gave you today, and it should work :thumbsup:

Very hard to communicate with you XD can't you come closer to europe? so that you don't start work when we go to bad :roflol:

PS : eXpansion and MC are different tools you either run one or another. I had a doubt of what you are trying looking to some logs you passed us so wanted to make things clear XD, they don't mix up

Re: What is ManiaControl?

Posted: 22 Apr 2014, 06:30
by nighthawk4571
Sorry Oliver, I didn't express myself clearly. What I did was reboot the system, then run the php command above; reboot again to clear everything and run the .sh command above. I wasn't trying to run both tools together.
My point (which I failed to state) was the similarities between both log outputs, thinking this info might help.

Yes, I do have php v 5.3.3 - see below:

Code: Select all

> yum --enablerepo=remi,remi-php55 install httpd php php-common
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.aarnet.edu.au
 * extras: mirror.aarnet.edu.au
 * updates: mirror.aarnet.edu.au
Setting up Install Process
Package httpd-2.2.15-30.el6.centos.x86_64 already installed and latest version
Package php-5.3.3-27.el6_5.x86_64 already installed and latest version
Package php-common-5.3.3-27.el6_5.x86_64 already installed and latest version
Nothing to do
Yeah, nothing to do but tear my hair out - thanks CentOS! :x Further updates for linux are likely to a hairy experience for me, as the associated notes suggest some instability, which is why CentOS/ Webmin have not yet included 5.4 or later in their repository lists.
* 5.5.11 was only released on 3/4/14 so more reading required I think. Not touching that until a fresh file system backup has been done.

So at this stage, unless there is a server admin who has been able to get your package (or the older one) to work on a linux server, I will have to leave this for the moment and give you guys a break from my antipodean nighmare :|...... gee it's a nice warm day here today ..... :twisted:

Thanks again :shock: :thumbsup:

Re: What is ManiaControl?

Posted: 22 Apr 2014, 07:19
by Chris92
Hello Nighthawk,
I've made a .zip file for you that runs the latest nightly and should be compatible with PHP 5.3.
See your Private Messages in the forums for the download link. Could you please check if that's working for you now?
Kind regards

Re: What is ManiaControl?

Posted: 22 Apr 2014, 07:29
by nighthawk4571
Hi Chris

Many thanks - will give that a go and reply to your pm before publicly admitting again to my incompetence here :).

Cheers :shock:

Re: What is ManiaControl?

Posted: 23 Apr 2014, 23:44
by nighthawk4571
kremsy wrote:It would be anyway great if you can upgrade to PHP 5.4 at least, because its still existing since over 2 years, and 5.3 get no official support in 2 months anymore from the "company" who made PHP.

Check out this link:
http://webtatic.com/packages/php54/
Yes I've seen that but thanks kremsy. I've been reading quite a Iot and it seems safe to give it a go :).

Cheers