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
  • gabriel01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #160726 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
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 5 months ago - 6 years 5 months ago #160727 by LouisGac
Last edit: 6 years 5 months ago by LouisGac.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #160733 by DenisChenu

LouisGac wrote: Denis: blame on you!
:-D

: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 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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago - 6 years 5 months ago #160738 by DenisChenu
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

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.

Lime-years ahead

Online-surveys for every purse and purpose