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
[MPAseco] [v0.83] Report bugs here!
Moderator: NADEO
- toffe
- Posts: 782
- Joined: 15 Jun 2013, 10:57
- Manialink: maniaflash?toffe
- Location: The Netherlands
- Contact:
Re: [MPAseco] [v0.83] Report bugs here!
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller
ManiaCDN: topic
PyPlanet: Python Server Controller
- toffe
- Posts: 782
- Joined: 15 Jun 2013, 10:57
- Manialink: maniaflash?toffe
- Location: The Netherlands
- Contact:
Re: [MPAseco] [v0.83] Report bugs here!
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.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller
ManiaCDN: topic
PyPlanet: Python Server Controller
-
- Posts: 1041
- Joined: 15 Jun 2010, 15:46
Re: [MPAseco] [v0.83] Report bugs here!
This syntax has been introduced with PHP 5.4
Btw, is there any page with MPAseco requirements? I can't find one.
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
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
-
- Posts: 1041
- Joined: 15 Jun 2010, 15:46
Re: [MPAseco] [v0.83] Report bugs here!
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.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.
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
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
Re: [MPAseco] [v0.83] Report bugs here!
If I understand correctly, you must use PHP 5.4 to update MPaseco?
Who is online
Users browsing this forum: No registered users and 0 guests