Welcome, Guest
Username: Password: Remember me

TOPIC: KCFinder Image Browse Server not working

KCFinder Image Browse Server not working 1 year 7 months ago #110016

In the Survey editor, after I clicked on the Image > Browse Server, the KCFinder editor pops up but when click on any of the buttons (Upload, Refresh, Settings etc), nothing will happen, as seen in Chrome.

In Firefox, page became 'The address wasn't understood. Firefox doesn't know how to open this address, because the protocol (kcact) isn't associated with any program. You might need to install other software to open this address.'

At the backend, the upload directory already has the permission to auto-create the folder of the survey id, since images folder already created.

We are using Version 2.05+ Build 140502. But the problem is that it works fine in our Dev server but not in the Prod server.

Appreciate any help.





The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 year 7 months ago #110330

Found the root cause.
There is a variable 'cookieDomain' in kcfinder/config.php that is set to blank.
However at tpl_javascript.php, _.kuki.domain is set based on the cookieDomain, which now populated based on the servername, which is not correct for our case because our site appears under the reverse proxy URL.

Once I set cookieDomain to our reverse proxy domain, it fixed the problem. However, I am not sure how to retain this, when we do LimeSurvey version upgrade later.

Appreciate if LS team can set the cookieDomain value based on application/config -> components -> request -> hostInfo.

Thank you
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 year 7 months ago #110393

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1119
  • Karma: 331
Hi,

Can you report a bug or a feature request.

I think not components -> request -> hostInfo but
components -> session -> cookieParams -> domain (and path).
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 year 7 months ago #110396

According to this documentation,
manual.limesurvey.org/Tokens

I only set components -> request -> hostInfo.
Not aware of the other one.

Thanks.
The administrator has disabled public write access.

KCFinder Image Browse Server not working 4 months 2 weeks ago #126062

  • egartner
  • egartner's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello All,
I've facing the same problem. I'm using LimeSurvey 2.06+ Build 150812.
When I tried to click on any button o of KCFinder, I got "The address wasn't understood. Firefox doesn't know how to open this address, because the protocol (kcact) isn't associated with any program. You might need to install other software to open this address."
I'm using VirtualHost on apache and Port 8080
My Apache is config as follow:

<VirtualHost *:8080>
DocumentRoot "C:\xampp\htdocs\LimeSurvey"
ServerName Survey.mydomain.corp
</VirtualHost>

Initially I don't have the host configured on application/config config.php -> components -> request -> hostInfo, neither on KCfinder > cookiedomain. I add but i got the same result, still not able to upload files using kcfinfer.

I tried to add the info hostinfo, and on KCfinder\Conf\Config.php
'cookieDomain' => "survey.mydomain.corp:8080",

But i got the same result, still not able to upload files using kcfinfer.
The administrator has disabled public write access.

KCFinder Image Browse Server not working 4 months 2 weeks ago #126067

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1119
  • Karma: 331
Hi,

If i remind is due to cache js issue. Go to "ressource for this survey" / browse files / reload (for cache) and trye again.

Denis
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 month 3 weeks ago #129454

I upgraded to version 2.06. It works in Chrome, but not IE.
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 month 3 weeks ago #129456

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1119
  • Karma: 331
Last Edit: 1 month 3 weeks ago by DenisChenu.
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 month 3 weeks ago #129457

IE 9.
Thank you very much!
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 month 3 weeks ago #129491

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1119
  • Karma: 331
The administrator has disabled public write access.

KCFinder Image Browse Server not working 1 month 2 weeks ago #129536

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8195
  • Thank you received: 1119
  • Karma: 331
Please :
  1. Report the bug at bugs.limesurvey.org
  2. Put the bug link here
With a bug report : you have more chance this bug was fixed ....
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.182 seconds