View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09615 | Bug reports | Survey editing | public | 2015-04-23 17:20 | 2016-09-16 22:22 |
Reporter | gab79 | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09615: KCFinder Image Browse Server not working when using db sessions | ||||
Description | If sessions are stored in the DB, when using kcfinder for browsing survey resources or uploading images using the HTML editor we get the following error. Cannot write to upload folder. /var/www/html/limesurvey/third_party/kcfinder | ||||
Steps To Reproduce | Configure sessions on DB using 'session' => array ( Create a new survey. Go to general settings/resources Click on "Browse uploaded resources" | ||||
Additional Information | This is the error page. <html> | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | cd6d0efcf18f3d9e841dec2282e8 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mysql-server 5.1 | ||||
Server OS (if known) | Centos 6.6 | ||||
Webserver software & version (if known) | Apache 2.2 | ||||
PHP Version | 5.3.3 | ||||
has duplicate | 11663 | closed | DenisChenu | Bug reports | KCFinder Image Browse Server not working when using db sessions |
The problem seems to be related to how the sessions are stored (using files everything is fine) so maybe it could caused by something more general than the widget usage itself |
|
Hi, Actally ckfinder use own session, and not LS core version :) |
|
Yeah, you're perfectly right. KCfinder is completely unaware of Yii sessions. So inhtmleditor_helper.php we are writing int the sessions in the DB while in KCFinder we are reading using the default PHP session implementation. |
|
Patch for using DB sessions https://github.com/LimeSurvey/LimeSurvey/pull/354 |
|
Carsten, can you please check the pull request? Gabriele has provided helpful fixes in the past so I assume it should be well coded. @Sam: Will LS3 already use a different editor or do you need a pull request for that version as well? |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15676 |
|
Version 2.06+ Build 150812 released |
|
LimeSurvey: master 69b72585 2015-06-25 16:02 Details Diff |
Fixed issue 09615: KCFinder Image Browse Server not working when using db sessions |
Affected Issues 09615 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File | ||
LimeSurvey: master 71ec2ac4 2015-07-31 11:08 Details Diff |
Merge pull request #354 from gmambro/kcfinderpatch Fixed issue 09615: KCFinder Image Browse Server not working when using db sessions |
Affected Issues 09615 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-04-23 17:20 | gab79 | New Issue | |
2015-04-27 12:47 | Mazi | Assigned To | => c_schmitz |
2015-04-27 12:47 | Mazi | Status | new => assigned |
2015-04-28 10:13 | DenisChenu | Note Added: 32068 | |
2015-04-29 18:49 | gab79 | Note Added: 32075 | |
2015-04-29 19:05 | DenisChenu | Note Added: 32076 | |
2015-04-29 19:36 | gab79 | Note Added: 32078 | |
2015-07-27 22:51 | gmambro | Note Added: 32819 | |
2015-07-30 14:01 | Mazi | Issue Monitored: sammousa | |
2015-07-30 14:02 | Mazi | Note Added: 32840 | |
2015-07-31 11:08 | gab79 | Changeset attached | => LimeSurvey master 69b72585 |
2015-07-31 11:08 | c_schmitz | Changeset attached | => LimeSurvey master 71ec2ac4 |
2015-07-31 11:08 | c_schmitz | Note Added: 32852 | |
2015-07-31 11:08 | c_schmitz | Resolution | open => fixed |
2015-07-31 12:47 | c_schmitz | Status | assigned => resolved |
2015-07-31 12:47 | c_schmitz | Fixed in Version | => 2.06+ |
2015-08-12 12:51 | c_schmitz | Note Added: 32917 | |
2015-08-12 12:51 | c_schmitz | Status | resolved => closed |
2016-09-16 22:22 | DenisChenu | Relationship added | has duplicate 11663 |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |