KCFinder Image Browse Server not working

More
3 years 1 week ago #110016 by ongkichilam
ongkichilam created the topic: KCFinder Image Browse Server not working
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.





Attachments:

Please Log in to join the conversation.

More
3 years 4 days ago #110330 by ongkichilam
ongkichilam replied the 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

Please Log in to join the conversation.

More
3 years 3 days ago #110393 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 3 days ago #110396 by ongkichilam
ongkichilam replied the topic: KCFinder Image Browse Server not working
According to this documentation,
manual.limesurvey.org/Tokens

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

Thanks.

Please Log in to join the conversation.

More
1 year 9 months ago #126062 by egartner
egartner replied the 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.

Please Log in to join the conversation.

More
1 year 9 months ago #126067 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 6 months ago #129454 by ongkichilam
ongkichilam replied the topic: KCFinder Image Browse Server not working
I upgraded to version 2.06. It works in Chrome, but not IE.

Please Log in to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #129456 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 1 year 6 months ago by DenisChenu.
The following user(s) said Thank You: LouisGac

Please Log in to join the conversation.

More
1 year 6 months ago #129457 by ongkichilam
ongkichilam replied the topic: KCFinder Image Browse Server not working
IE 9.
Thank you very much!

Please Log in to join the conversation.

More
1 year 6 months ago #129491 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 6 months ago #129536 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 months 4 weeks ago #146475 by Stan
Stan replied the 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.

Please Log in to join the conversation.

More
2 weeks 1 day ago #155866 by pdaubresse
pdaubresse replied the topic: KCFinder Image Browse Server not working
Thanks a lot for sharing your solution. I spent much time on this problem.

Please Log in to join the conversation.

Have you already participated in our survey?

Don't miss your chance to win our valuable prices.

Just click here to start the survey

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now