I have version 5.3.3 of php and I just updated my installation of limesuvey to Version 2.72.4+171110.
Since this update, it is impossible to export the answers. I activated the debug function and see this error :
"Parse error: syntax error, unexpected '[', expecting ')' in /data/www/limesurvey/application/helpers/export_helper.php on line 2139"
Line 2139 of the export_helper.php file is:
$maxIntegerLen=max([$integerMaxLen,$integerMinLen]);
It seems that we need to be running PHP 5.4+ to use shorthand arrays.
Could you help me find a solution? I can not update my version of php.
Thank you
Gabriel
The topic has been locked.
LouisGac
New Member
LessMore
Thank you received: 0
7 years 3 months ago - 7 years 3 months ago#160727by LouisGac
:evil: Blame on, user who still use an outdated PHP version
I fix it in a minute
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Remind : don't update to 3.0 release , not compat with 5.3 .
And more : version lesser than 5.6 are not supported :
php.net/supported-versions.php
If you have an hacked server, it's not our fault
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Last edit: 7 years 3 months ago by DenisChenu. Reason: http://php.net/supported-versions.php not wikipedia
The following user(s) said Thank You: gabriel01, LouisGac