kcfinder
kcfinder copied to clipboard
Get error when accessing site with ip addess
I Get:
TypeError: $(...).get(...) is undefined
at this line:
$('#order input[value="' + $.$.kuki.get('order') + '"]').get(0).checked = true;
nothing show in file browser when accessing from ip address.
I just tested it. It works for me. I changed "localhost" to "127.0.0.1" and there are no problems. It seems that this is cookie issue... Please clear your cookies
yes.. works on localhost.. but on real server nope... I have same error... also.. when I click upload i have kcact:upload and in window message The address wasn't understood
Firefox doesn't know how to open this address, because one of the following protocols (kcact) isn't associated with any program or is not allowed in this context.
Please clear cookies or open in another browser. Then check for JavaScript errors.
I was do that,,, Simple I have blank screen... your script was stuck on browser.php She do not know where is browser.php.. So I guest, you have problem with paths on real server. Your way to find where is script located was fail on some servers..
when I fix that error ( in autoloader) I have next, similar.. all was related to wrong paths.
try to make account to hostinghood.com than there install script and try... You will find all errors I talk about... :)
This is a shared hosting. A single IP is used for many hostnames. It's impossible to browse your scripts using the shared IP address. Anyway I successfully installed KCFinder on this hosting and it works great (using its hostname, not the IP).
I found this problem too.
I use http://localhost:8888/kcfinder/browse.php?opener=ckeditor&type=images&CKEditor=editor1&CKEditorFuncNum=1&langCode=en It's work
but i try
- http://mywork.uat:8888/kcfinder/browse.php?opener=ckeditor&type=images&CKEditor=editor1&CKEditorFuncNum=1&langCode=en
- http://127.0.0.1:8888/kcfinder/browse.php?opener=ckeditor&type=images&CKEditor=editor1&CKEditorFuncNum=1&langCode=en
And found this error on both url
I found this problem too.
in localhost work, but using ip not work,
anybody have solution?
I got the same issue, how I can fix that? I just got blank screen when open my site with IP like 127.0.0.1
Hi, I got this issue too. it works good on linux and MacOs but not windows. and I found that I comment this line($.$.kuki.domain = "config['cookieDomain']) ?>";) in tpl_javascript.php out and it works well. But I'm not sure if it's a good way to solve this problem.
I can confirm that @Chien-Ching's suggestion solves the problem for me. I was also seeing a javascript error w.r.t. get(0)
, which has now disappeared. Judging from the fix I suppose there is a cookie being set, which was set to the wrong domain.
Using my own (remote) server: debian 9, apache, php7.0, https.
@Chien-Ching's fix solves the same problem for me too. Thank you!
Issues started a month after installing a Lets Encrypt SSL cert on the clients hosting, but may be unconnected.
I tried on windows @Chien-Ching 's suggestion and more. It seems working well (chrome&fox). (So some features like sort do not work.)
070.setting.js
Line53
// $('#order input[value="' + $.$.kuki.get('order') + '"]').get(0).checked = true;
Line 72
// $('#view input[value="' + $.$.kuki.get('view') + '"]').get(0).checked = true;