Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

KCFinder Image Browse Server not working

  • ongkichilam
  • ongkichilam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #110016 by ongkichilam
KCFinder Image Browse Server not working was created by ongkichilam
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 topic has been locked.
  • ongkichilam
  • ongkichilam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago #110330 by ongkichilam
Replied by ongkichilam on topic KCFinder Image Browse Server not working
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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 4 months ago #110393 by DenisChenu
Replied by DenisChenu on topic KCFinder Image Browse Server not working
Hi,

Can you report a bug or a feature request.

I think not components -> request -> hostInfo but
components -> session -> cookieParams -> domain (and path).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • ongkichilam
  • ongkichilam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago #110396 by ongkichilam
Replied by ongkichilam on topic KCFinder Image Browse Server not working
According to this documentation,
www.limesurvey.org/manual/Tokens

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

Thanks.
The topic has been locked.
More
9 years 1 month ago #126062 by egartner
Replied by egartner on topic KCFinder Image Browse Server not working
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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 1 month ago #126067 by DenisChenu
Replied by DenisChenu on topic KCFinder Image Browse Server not working
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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • ongkichilam
  • ongkichilam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago #129454 by ongkichilam
Replied by ongkichilam on topic KCFinder Image Browse Server not working
I upgraded to version 2.06. It works in Chrome, but not IE.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 11 months ago - 8 years 11 months ago #129456 by DenisChenu
Replied by DenisChenu on topic KCFinder Image Browse Server not working

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 8 years 11 months ago by DenisChenu.
The topic has been locked.
  • ongkichilam
  • ongkichilam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago #129457 by ongkichilam
Replied by ongkichilam on topic KCFinder Image Browse Server not working
IE 9.
Thank you very much!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 11 months ago #129491 by DenisChenu
Replied by DenisChenu on topic KCFinder Image Browse Server not working

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 11 months ago #129536 by DenisChenu
Replied by DenisChenu on topic KCFinder Image Browse Server not working
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 ....

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
7 years 10 months ago #146475 by Stan
Replied by Stan on topic KCFinder Image Browse Server not working
Hallo, i have practically the same issue. The KCFinder pops up but the window is blank and i can't any option to upload something. I reported it HERE and hope i did it the right way. Thanks.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose