Page 1 of 2

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

Posted: 06 Nov 2013, 16:08
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

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

Posted: 06 Nov 2013, 23:42
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.

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

Posted: 07 Nov 2013, 00:18
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.

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

Posted: 07 Nov 2013, 09:48
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.

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

Posted: 10 Nov 2013, 18:58
by mangastef
If I understand correctly, you must use PHP 5.4 to update MPaseco?