View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14436 | Bug reports | Survey editing | public | 2019-01-17 16:23 | 2021-03-20 11:57 |
Reporter | jelo | Assigned To | c_schmitz | ||
Priority | low | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 3.15.x | ||||
Summary | 14436: KCFinder breaks under PHP 7.2 via graphic library to create thumbs | ||||
Description | When uploading a file via KCFinder under PHP 7.1 everything works as expected. "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> The script /third_party/kcfinder/core/class/browser.php is not working correctly under PHP 7.2 in combination with certain graphic libraries. I guess it is GD. When I comment out the thumb creation part in browser.php the error message with stil be shown but KCFinder still be usable. The error is limited to images and thumbs, when the browser.php scanning through the files. | ||||
Additional Information | When you comment out the part to create thumbs, the error message will still come but you can work on. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 3.15.6+190108 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | MySQL | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.2.14 | ||||
Wher is this link ? To test ? |
|
https://github.com/LimeSurvey/LimeSurvey/blob/master/third_party/kcfinder/conf/config.php#L45 Not sure if it is really used in the modified LS KCFinder. |
|
Maybe, but since i have imagick + gd : i can remove imagick from this line to force gs. I set this line to 'imageDriversPriority' => "gd", and don't have issue … This is my current gd settings |
|
But I don't see any impact in terms of disabling a library via removing the entry from that line. If I remove GD extension directly from PHP , KCFinder will display: When I remove GD just from 'imageDriversPriority' => "imagick gmagick" I get no warning and KCFinder tries to create the thumb in PHP 7.1 (with the error). If I use PHP 7.1 with 'imageDriversPriority' => "imagick gmagick", it still creates the thumbnail via GD. |
|
I don't look at code, but if i have gd, and gd is 1st in priority : kcfinder take gd, no ? |
|
I have no debugger on the PHP code running. To test impact of 'imageDriversPriority'. I did the following. |
|
I can not reproduce on PHP7.2.9 + IIS server + gd bundle (2.1.0 compatible) |
|
Maybe start by : https://github.com/sunhater/kcfinder/issues/169 |
|
Same server type : Windows IIS + PHP7.2.12 (same gd version) : it's OK. Maybe an issue in php version ? |
|
@jelo, Will you get that error message from the screenshot all the time or only if debug mode is enabled? |
|
Maybe need a bad image in the images upload dir ? |
|
@Mazi: Debugmode was off. But I haven't tested the newer LS releases under PHP 7.2 and CentOS 7. |
|
Don't think I saw any similar reports so far - tried to reproduce with php 7.2 + ubuntu 18 + mysql without any success. |
|
Hello jelo, we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved. Thank you and best regards, c_schmitz |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-17 16:23 | jelo | New Issue | |
2019-01-17 16:23 | jelo | File Added: 20191117kcfinderuploadthumb.PNG | |
2019-01-17 18:09 | DenisChenu | Note Added: 50258 | |
2019-01-17 18:49 | jelo | Note Added: 50259 | |
2019-01-17 18:55 | DenisChenu | Note Added: 50260 | |
2019-01-17 20:15 | jelo | Note Added: 50261 | |
2019-01-18 08:29 | DenisChenu | Note Added: 50262 | |
2019-01-18 09:22 | jelo | Note Added: 50263 | |
2019-02-07 12:54 | DenisChenu | Note Added: 50436 | |
2019-02-07 12:55 | DenisChenu | Note Added: 50437 | |
2019-02-07 13:05 | DenisChenu | Note Added: 50438 | |
2019-02-07 13:05 | DenisChenu | Note Edited: 50438 | |
2019-03-26 17:13 | Mazi | Note Added: 51140 | |
2019-03-26 18:14 | DenisChenu | Note Edited: 50436 | |
2019-03-26 18:15 | DenisChenu | Note Added: 51141 | |
2019-03-26 18:15 | DenisChenu | Note Edited: 51141 | |
2019-03-26 18:15 | DenisChenu | Assigned To | => dominikvitt |
2019-03-26 18:15 | DenisChenu | Status | new => feedback |
2019-03-26 18:17 | DenisChenu | Note Edited: 51141 | |
2019-03-26 19:59 | jelo | Note Added: 51144 | |
2019-03-26 19:59 | jelo | Status | feedback => assigned |
2019-07-15 11:41 |
|
Assigned To | dominikvitt => cdorin |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-02-07 10:30 | cdorin | Assigned To | cdorin => |
2021-02-07 10:30 | cdorin | Priority | none => low |
2021-02-07 10:30 | cdorin | Status | assigned => feedback |
2021-02-07 10:30 | cdorin | Note Added: 61969 | |
2021-03-20 11:56 | c_schmitz | Note Added: 63499 | |
2021-03-20 11:57 | c_schmitz | Assigned To | => c_schmitz |
2021-03-20 11:57 | c_schmitz | Status | feedback => closed |
2021-03-20 11:57 | c_schmitz | Resolution | open => unable to reproduce |