View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09822Bug reportsSurvey editingpublic2015-12-04 15:18
Reporterpdaubresse Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09822: Unable to upload image on server via KCFinder
Description

I have a new server. I want to insert an image into the description field of a question. When I click on Image in the toolbar I get a popup window with Image properties. So I click on "Browse server" and get a new popup window with an image browser. But in the console of Firebug I get a javascript error:
TypeError: $(...).get(...) is undefined index.php (line 6, col 265353)

Steps To Reproduce

I want to insert an image into the description field of a question. When I click on Image in the toolbar I get a popup window with Image properties. So I click on "Browse server" and get a new popup window with an image browser. But in the console of Firebug I get a javascript error

TagsNo tags attached.
Attached Files
JS_error_chrome.png (106,850 bytes)
Bug heat6
Complete LimeSurvey version number (& build)Version 2.06+ Build 150729
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMySQL 5.5.44-0
Server OS (if known)Ubuntu 14.04.1
Webserver software & version (if known)Apache/2.4.7 (Ubuntu)
PHP Version5.5.9-1ubuntu4.11

Users monitoring this issue

There are no users monitoring this issue.

Activities

jelo

jelo

2015-08-10 18:41

partner   ~32893

Update to Version 2.06+ Build 150731 and try again.

pdaubresse

pdaubresse

2015-08-11 09:45

reporter   ~32894

Hello, I just updated to latest release I found: limesurvey206plus-build150730
but problem persists.
I didn't mention the limesurvey server is behing a proxy server, with proxy publishing limesurvey in https, but with http connection between proxy and Limesurvey server.
Kind regards,

Pierre

c_schmitz

c_schmitz

2015-08-11 11:02

administrator   ~32895

Did you update manually?

pdaubresse

pdaubresse

2015-08-11 11:15

reporter   ~32897

Hello,

Yes, I updated manually. Using the Comfort Manager, I couldn't find any update. So I followed instructions here: https://manual.limesurvey.org/Upgrading_from_a_previous_version, in the "The quick way (for minor version changes)" section

jelo

jelo

2015-08-11 11:30

partner   ~32898

I updated via Comfortupdater. But I made a fresh install and installed to ersion 2.06+ Build 150731. That was the only way to get KCFinder back to work.

The Version 2.06+ Build 150731 is still not available as download. A fresh install from Version 2.06+ Build 150731 would be a good solution.

pdaubresse

pdaubresse

2015-08-11 15:45

reporter   ~32899

Small correction: Comfort update doesn't work. It may be due to the fact that our Limesurvey server must go through a proxy to connect to internet. According to LS doc I need to add settings to the config.php file. But I have a doubt about how to do it. Should I add to the 'config' array:
'config'=>array(
'debug'=>2,
'debugsql'=>0,
'proxy_host_name'=>'proxy.mydomain.com',
'proxy_host_port'=>8080,
or as this (as in the config-default.php):
$config['proxy_host_name'] = 'proxy.wiv-isp.be';
$config['proxy_host_port'] = 8080;

I did it both ways and it doesn't work.
Regarding the problem with KCFinder, according to jelo, update to the latest build 150731 solves the problem. Is it right? Is it available as download? or only through Comfort update

Kind regards.

jelo

jelo

2015-08-11 21:53

partner   ~32902

I haven't found a 150731 build for download. I had to install a clean 150730 and updated via Comfortupdater. Still unknown why the download repository isn't offering 150731. Since a few critical bugs are fixed in the master a new release might be around the corner.

c_schmitz

c_schmitz

2015-08-12 12:50

administrator   ~32912

We released a new version. Please try again now and let us know if it fixes the KCfinder issue.
For the proxy issue there is already a bug report about this.

pdaubresse

pdaubresse

2015-08-17 10:19

reporter   ~32965

Hello,

I just updated our Limesurvey to the latest release (build 150812) but it doesn't solve our KCFinder issue. Can it be linked to the fact that our Limesurvey is published through a reverse proxy, serving clients in htps, whereas connection between proxy and LS server is in http?
In any case problem is apparently die to JS error -> I uploaded a screen shot of JS error in Chrome.

c_schmitz

c_schmitz

2015-08-21 14:35

administrator   ~32973

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15771

c_schmitz

c_schmitz

2015-08-21 14:40

administrator   ~32974

Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15772

pdaubresse

pdaubresse

2015-08-21 16:17

reporter   ~32979

Hi,

I'm happy to see that you found out a solution. I'm not a Linux guru, so is there a way I can apply the fix to my current installation? Comfort Update doesn't work because we use a proxy and current release doesn't support it (bug already reported by another person: ID 09817). Or do I need the publishing of a new release?

Kind regards,

Pierre

c_schmitz

c_schmitz

2015-08-24 12:35

administrator   ~32985

2.06+ Build 150824 released

pdaubresse

pdaubresse

2015-08-25 11:58

reporter   ~33005

Sorry to reopen this request, but problem remains.
I just installed latest build (150825).
Kind regards,
Pierre

c_schmitz

c_schmitz

2015-12-04 15:18

administrator   ~33700

I cannot reproduce the remaining issue.
If you still have problems using the latest version and ruled out permission problems etc please open a new bug report.

Related Changesets

LimeSurvey: master d27535c7

2015-08-21 12:35:37

c_schmitz

Details Diff
Fixed issue 09822: Unable to upload image on server via KCFinder Affected Issues
09822
mod - application/config/version.php Diff File
mod - application/helpers/update/updatedb_helper.php Diff File
mod - installer/sql/create-mssql.sql Diff File
mod - installer/sql/create-mysql.sql Diff File
mod - installer/sql/create-pgsql.sql Diff File

LimeSurvey: develop 89eb4678

2015-08-21 12:40:31

c_schmitz

Details Diff
Fixed issue 09822: Unable to upload image on server via KCFinder Affected Issues
09822
mod - application/helpers/update/updatedb_helper.php Diff File
mod - installer/sql/create-mssql.sql Diff File
mod - installer/sql/create-mysql.sql Diff File
mod - installer/sql/create-pgsql.sql Diff File

Issue History

Date Modified Username Field Change
2015-08-10 17:19 pdaubresse New Issue
2015-08-10 17:19 pdaubresse File Added: limesurvey_survey_246954.zip
2015-08-10 18:41 jelo Note Added: 32893
2015-08-11 09:45 pdaubresse Note Added: 32894
2015-08-11 11:02 c_schmitz Note Added: 32895
2015-08-11 11:15 pdaubresse Note Added: 32897
2015-08-11 11:30 jelo Note Added: 32898
2015-08-11 15:45 pdaubresse Note Added: 32899
2015-08-11 21:53 jelo Note Added: 32902
2015-08-12 12:50 c_schmitz Note Added: 32912
2015-08-12 12:51 c_schmitz Assigned To => c_schmitz
2015-08-12 12:51 c_schmitz Status new => feedback
2015-08-17 10:19 pdaubresse Note Added: 32965
2015-08-17 10:19 pdaubresse Status feedback => assigned
2015-08-17 10:21 pdaubresse File Added: JS_error_chrome.png
2015-08-21 14:35 c_schmitz Changeset attached => LimeSurvey master d27535c7
2015-08-21 14:35 c_schmitz Note Added: 32973
2015-08-21 14:35 c_schmitz Resolution open => fixed
2015-08-21 14:36 c_schmitz Status assigned => resolved
2015-08-21 14:36 c_schmitz Fixed in Version => 2.06+
2015-08-21 14:40 c_schmitz Changeset attached => LimeSurvey develop 89eb4678
2015-08-21 14:40 c_schmitz Note Added: 32974
2015-08-21 16:17 pdaubresse Note Added: 32979
2015-08-24 12:35 c_schmitz Note Added: 32985
2015-08-24 12:35 c_schmitz Status resolved => closed
2015-08-25 11:58 pdaubresse Note Added: 33005
2015-08-25 11:58 pdaubresse Status closed => feedback
2015-08-25 11:58 pdaubresse Resolution fixed => reopened
2015-11-02 17:48 DenisChenu Category Accessibility => Survey design
2015-12-04 15:18 c_schmitz Note Added: 33700
2015-12-04 15:18 c_schmitz Status feedback => closed
2015-12-04 15:18 c_schmitz Resolution reopened => unable to reproduce
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing