[MPAseco] [v0.83] Report bugs here!

MPAseco is a server controller for Shootmania, which provides you with a framework and some standard plugins.

Moderator: NADEO

User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by toffe »

Something wrong with line 204 in the plugin.rasp_chat.php file?
https://github.com/ManiaAseco/MPAseco/b ... t.php#L204

I'm getting a syntax error. '[3]' is wrong or misplaced?

Thanks guys,
Toffe
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by toffe »

Indeed there are much servers that are running on the newest version without problems. I'm using PHP 5.3.10 in my test environment.
The_Big_Boo
Posts: 1041
Joined: 15 Jun 2010, 15:46

Re: [MPAseco] [v0.83] Report bugs here!

Post by The_Big_Boo »

This syntax has been introduced with PHP 5.4

Btw, is there any page with MPAseco requirements? I can't find one.
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
The_Big_Boo
Posts: 1041
Joined: 15 Jun 2010, 15:46

Re: [MPAseco] [v0.83] Report bugs here!

Post by The_Big_Boo »

kremsy wrote:I don't exactly get why this shouldn't work on PHP 5.3, because with end() you get the last element (which is a array itself) of the array,
and in the next line I get the third Element from the inner array, don't see any reason why it should not be working.
It's not a matter of runtime logic but PHP has, like any other language, a grammar defining what's possible to write and everything else isn't. Before PHP 5.4, there were no grammar rule saying you can use the array access operator right after a function call, so you can't do it.
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
mangastef
Posts: 791
Joined: 15 Jun 2010, 22:46
Location: Chez moi
Contact:

Re: [MPAseco] [v0.83] Report bugs here!

Post by mangastef »

If I understand correctly, you must use PHP 5.4 to update MPaseco?
ImageImage
Image
Post Reply

Return to “MPAseco”

Who is online

Users browsing this forum: No registered users and 1 guest