ManiaLive 2.5 Bug?

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

Moderator: NADEO

Post Reply
User avatar
tatar
Posts: 17
Joined: 09 Mar 2012, 16:16

ManiaLive 2.5 Bug?

Post by tatar »

Hi,
The new manialive 2.5 failed at lunch on my systems.

I just noticed those two functions are not declared as it should :

Code: Select all

	function getHalign()
	{
		return $this->halign;
	}

	function getValign()
	{
		return $this->valign;
	}
I fixed the problem by re declaring :

Code: Select all

	function getHalign($default = null)
	{
		return $this->halign ? : $default;
	}

	function getValign($default = null)
	{
		return $this->Valign ? : $default;
	}
Was I the only one with the problem? Was it the good fix? Manialive seems fine to me after this fix.

Thanks.
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: ManiaLive 2.5 Bug?

Post by The_Big_Boo »

Problem comes from an error in ManiaLib, which has been fixed (actually these 2 methods shouldn't redeclared at all) but the version used in ManiaLive is a just bit too old...
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
User avatar
tatar
Posts: 17
Joined: 09 Mar 2012, 16:16

Re: ManiaLive 2.5 Bug?

Post by tatar »

So the right way to make manialive 2.5 work is just to replace manialib folder with latest manialib version?
Thanks.
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: ManiaLive 2.5 Bug?

Post by The_Big_Boo »

You need the latest SVN revision (r769). The latest official release (ManiaLib 3.0) is older than the version used by ManiaLive (which is 3.1). So the right way is still to remove the 2 redeclarations.

Btw, if anybody wonders why they doesn't get this issue, it happens only with PHP 5.4 and higher.
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
TatharNuar
Posts: 80
Joined: 16 Jul 2012, 16:50

Re: ManiaLive 2.5 Bug?

Post by TatharNuar »

Is this bug also fixed in ManiaLive 2.5.1? I'd like to be sure.
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: ManiaLive 2.5 Bug?

Post by The_Big_Boo »

Indeed, it's fixed in 2.5.1.
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest