View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
17304Bug reportsComfortUpdatepublic2021-07-12 11:53
Reportermike73rn Assigned Toollehar  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version3.25.20 
Summary17304: Error in minimum php version required (composer dependencies)
Description

During the update from 3.26.3 to 3.26.4 with ComfortUpdate at step 2 the php required version is 5.5.9, but at the end of the process, if the php version is lower than 7.1 the following error appears:

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.1.0".

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)3.26.4 (210517)
I will donate to the project if issue is resolvedNo
Browser
Database type & version5.6.51-log - MySQL Community Server (GPL)
Server OS (if known)
Webserver software & version (if known)
PHP Version 5.6.40

Users monitoring this issue

gwdgls

Activities

ollehar

ollehar

2021-05-17 17:14

administrator   ~64431

Hm

ollehar

ollehar

2021-05-17 17:31

administrator   ~64432

Last edited: 2021-05-17 17:37

Phpunit requires version 5.6 at least.

ollehar

ollehar

2021-05-17 17:32

administrator   ~64433

Using the following logic in composer.json:

"config": {
    "vendor-dir": "third_party",
    "bin-dir": "third_party/bin",
    "platform": {
        "php": "5.6"
    }
},

The only difference in the repo is:

    modified:   third_party/symfony/polyfill-ctype/bootstrap.php
    deleted:    third_party/symfony/polyfill-ctype/bootstrap80.php
    modified:   third_party/symfony/polyfill-ctype/composer.json
ollehar

ollehar

2021-05-17 17:37

administrator   ~64434

Pushing this fix to see if Travis is green.

gwdgls

gwdgls

2021-05-18 10:20

reporter   ~64450

This problem occurs in our case, too. Do we need to upgrade our PHP version, or how can it be solved?

ollehar

ollehar

2021-05-18 11:17

administrator   ~64453

@gwdgls Are you using ComfortUpdate?

gwdgls

gwdgls

2021-05-18 12:54

reporter   ~64459

@ollehar Yes. Until last week's update everything worked fine, this week it crashed as described in this bug.

c_schmitz

c_schmitz

2021-05-19 20:11

administrator   ~64483

To fix this please unzip the attached file in your LimeSurvey directory (or upload the files to your webspace overwriting the existing ones). It will replace the critical files and update your instance from build 210517 to 210519.

gwdgls

gwdgls

2021-05-20 12:30

reporter   ~64486

@c_schmitz thank you very much! This helped fix it. As we have another LS running ont the same server, which we didn't yet upgrade because of the bug, I would like to ask whether the fix will be included in next Monday's update, or whether we'll also have to replace the relevant files with those from the zip archive.

c_schmitz

c_schmitz

2021-05-20 13:29

administrator   ~64488

The fix is included in yesterday's release. You should be able to update your version just fine to the latest release right now.

mike73rn

mike73rn

2021-05-20 14:07

reporter   ~64490

Thank you for the quick fix!!

c_schmitz

c_schmitz

2021-07-12 11:53

administrator   ~65298

Release done.

Issue History

Date Modified Username Field Change
2021-05-17 17:09 mike73rn New Issue
2021-05-17 17:14 ollehar Note Added: 64431
2021-05-17 17:17 ollehar Product Version => 3.25.20
2021-05-17 17:31 ollehar Note Added: 64432
2021-05-17 17:32 ollehar Note Added: 64433
2021-05-17 17:37 ollehar Note Added: 64434
2021-05-17 17:37 ollehar Assigned To => ollehar
2021-05-17 17:37 ollehar Status new => assigned
2021-05-17 17:37 ollehar Note Edited: 64432
2021-05-17 17:38 ollehar Status assigned => ready for testing
2021-05-18 09:47 gwdgls Issue Monitored: gwdgls
2021-05-18 10:20 gwdgls Note Added: 64450
2021-05-18 11:17 ollehar Note Added: 64453
2021-05-18 12:54 gwdgls Note Added: 64459
2021-05-19 18:17 ollehar Status ready for testing => resolved
2021-05-19 18:17 ollehar Resolution open => fixed
2021-05-19 20:11 c_schmitz Note Added: 64483
2021-05-19 20:11 c_schmitz File Added: limesurvey-update-210517-210519.zip
2021-05-20 12:30 gwdgls Note Added: 64486
2021-05-20 13:29 c_schmitz Note Added: 64488
2021-05-20 14:07 mike73rn Note Added: 64490
2021-07-12 11:53 c_schmitz Note Added: 65298
2021-07-12 11:53 c_schmitz Status resolved => closed
2021-08-03 08:45 guest Bug heat 8 => 10