- Posts: 21
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
LimeSurvey Version 2.72.4+171110 ne longer compatible with version 5.3.3 of php
- gabriel01
- Topic Author
- Offline
- Junior Member
Less
More
6 years 5 months ago #160726
by gabriel01
LimeSurvey Version 2.72.4+171110 ne longer compatible with version 5.3.3 of php was created by gabriel01
Hello,
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
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
- Visitor
6 years 5 months ago - 6 years 5 months ago #160727
by LouisGac
Replied by LouisGac on topic LimeSurvey Version 2.72.4+171110 ne longer compatible with version 5.3.3 of php
Last edit: 6 years 5 months ago by LouisGac.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 5 months ago #160733
by DenisChenu
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 service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic LimeSurvey Version 2.72.4+171110 ne longer compatible with version 5.3.3 of php
:evil: Blame on, user who still use an outdated PHP versionLouisGac wrote: Denis: blame on you!
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 service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: LouisGac
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 5 months ago - 6 years 5 months ago #160738
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic LimeSurvey Version 2.72.4+171110 ne longer compatible with version 5.3.3 of php
Done :
github.com/LimeSurvey/LimeSurvey/commit/...fa2bc060a5542a3da64e
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
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 service on demand , plugin development .
I don't answer to private message.
Last edit: 6 years 5 months ago by DenisChenu. Reason: http://php.net/supported-versions.php not wikipedia
The following user(s) said Thank You: gabriel01, LouisGac
The topic has been locked.