View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05345 | Bug reports | Survey editing | public | 2011-07-13 23:57 | 2011-07-25 18:39 |
| Reporter | jelo | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 1.91+ | ||||
| Summary | 05345: CKEditor in conjunction with KCFinder not finding any path to upload images/files | ||||
| Description | When trying to insert an image | ||||
| Steps To Reproduce | Just choose to include an image via the ckeditor and choose browse server. An error 500 will occur. | ||||
| Additional Information | I haven't had the time to dig deep into the configuration of ckeditor and kcfinder. But a first look at them doesn't reveal a misconfiguration. Updates and fresh installs are both showing this problem. Perhaps certain apache/php configuration settings (i am thinking of suhosin, modsec). But logfiles didn't show anything remarkable. I have opened that ticket earlier than I normally would, do since others are posting the same problems: Threads in the board: Perhaps a few are running into the old error which was discussed here: Perhaps the requirements have changed with using ckeditor and kcfinder in connection with limesurvey. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 10315 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 3.6.18 | ||||
| Database type & version | MySQL 5.0.92 | ||||
| Server OS (if known) | Centos 4.9 | ||||
| Webserver software & version (if known) | Apache 1.3x | ||||
| PHP Version | 5.2.17 | ||||
| Git branch / Pull Request URL | |||||
|
Version 1.91+ Build 10494 now provides an different behaviour. A nice error message via JavaScript Alert states "Cannot write to upload folder". Which will help a lot to narrow down the cause of the issue. Since this message is triggers when just trying to "browse server" the scripts seem to try to init a subdirectory structure (subdirectories per filetype?). Question is which upload folder is meant. Normally /upload/surveys/surveyid_of_current_survey . The directory seems to be recreated by limesurvey, but not permissions were set. |
|
|
The permissions of the new created subdirectories are not set at all The following items will be created It seem to me that the first init routine is not working correctly. Differene between creating a new survey, importing a survey and existing survey when it comes to the uploadfolder? When creating a new survey the upload folder of this survey is not created correctly. No permissions are set. The funny thing that I need root to delete the directory. The permission mask is set to "000". Even after recreating the directory with proper permission mask an upload or browsing is not possible. The Demoinstallation on limesurvey.org is showing the same error when trying to insert an image. Can be the issue or tight security because of public demo. |
|
|
To sum it up: A check of /admin/scripts/kcfinder/config.php revealed that 'dirPerms' => , was not correctly set. A comfortupdate on another installation didn't contained that buggy config.php. |
|
|
A look at the latest version revals that the permissions are correctly set and were even in build 10315. Guess an earlier update didn't work well. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-07-13 23:57 | jelo | New Issue | |
| 2011-07-14 13:09 | jelo | Note Added: 15765 | |
| 2011-07-14 13:17 | jelo | Note Added: 15766 | |
| 2011-07-14 15:53 | jelo | Note Edited: 15766 | |
| 2011-07-14 18:15 | jelo | Note Edited: 15766 | |
| 2011-07-14 18:23 | jelo | Note Edited: 15766 | |
| 2011-07-15 00:51 | jelo | Note Added: 15773 | |
| 2011-07-15 01:06 | jelo | Note Edited: 15773 | |
| 2011-07-25 18:39 | c_schmitz | Note Added: 15861 | |
| 2011-07-25 18:39 | c_schmitz | Status | new => closed |
| 2011-07-25 18:39 | c_schmitz | Assigned To | => c_schmitz |
| 2011-07-25 18:39 | c_schmitz | Resolution | open => unable to reproduce |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |