Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Get error when accessing site with ip addess #34

Open
egig opened this issue May 20, 2014 · 14 comments
Open

Get error when accessing site with ip addess #34

egig opened this issue May 20, 2014 · 14 comments

Comments

@egig
Copy link

egig commented May 20, 2014

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.

@sunhater
Copy link
Owner

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

@zmmaj
Copy link

zmmaj commented Aug 2, 2014

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.

@sunhater
Copy link
Owner

sunhater commented Aug 2, 2014

Please clear cookies or open in another browser. Then check for JavaScript errors.

@zmmaj
Copy link

zmmaj commented Aug 3, 2014

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..

@zmmaj
Copy link

zmmaj commented Aug 3, 2014

when I fix that error ( in autoloader) I have next, similar.. all was related to wrong paths.

@zmmaj
Copy link

zmmaj commented Aug 3, 2014

try to make account to hostinghood.com than there install script and try...
You will find all errors I talk about... :)

@sunhater
Copy link
Owner

sunhater commented Aug 6, 2014

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).

@jordan095
Copy link

I found this problem too.

in localhost work, but using ip not work,

anybody have solution?

@rohmanhm
Copy link

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

@Chien-Ching
Copy link

Chien-Ching commented Dec 19, 2016

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.

@geez0x1
Copy link

geez0x1 commented Oct 15, 2017

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.

@webcatUK
Copy link

webcatUK commented Mar 4, 2018

@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.

@djanzu
Copy link

djanzu commented Jul 2, 2019

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;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants