- Posts: 26
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
KCFinder Image Browse Server not working
- ongkichilam
- Topic Author
- Offline
- Junior Member
Less
More
9 years 10 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.
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:
The topic has been locked.
- ongkichilam
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
9 years 10 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
9 years 9 months ago #110393
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
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).
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- ongkichilam
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
9 years 9 months ago #110396
by ongkichilam
Replied by ongkichilam on 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.
manual.limesurvey.org/Tokens
I only set components -> request -> hostInfo.
Not aware of the other one.
Thanks.
The topic has been locked.
- egartner
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
8 years 7 months 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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
8 years 7 months ago #126067
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
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
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- ongkichilam
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
8 years 4 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
8 years 4 months ago - 8 years 4 months ago #129456
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
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 service on demand , plugin development .
I don't answer to private message.
Last edit: 8 years 4 months ago by DenisChenu.
The topic has been locked.
- ongkichilam
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
8 years 4 months ago #129457
by ongkichilam
Replied by ongkichilam on topic KCFinder Image Browse Server not working
IE 9.
Thank you very much!
Thank you very much!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
8 years 4 months ago #129491
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic KCFinder Image Browse Server not working
:laugh:DenisChenu wrote: A bug not reported is a bug not corrected.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
8 years 4 months ago #129536
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic KCFinder Image Browse Server not working
Please :
- Report the bug at bugs.limesurvey.org
- Put the bug link here
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Stan
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 0
7 years 3 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.