Search code examples
ckeditor4.xckfinderckeditor.net

CKFinder 3 json file loading error


I am trying to use CKFinder 3 hosted on IIS on the local html file. But I am getting the following script errorScript Error

I tried to dig in the source code. and what I found is, the language file (en.json) is getting loaded by script tag with type attribute as text/javascript which is causing the error. Can anyone help?


Solution

  • Such error is usually displayed when you have CKFinder installed on one domain but you try to use it or reference it on the other.

    CKFinder doesn't allow that and currently it doesn't have a built-in support for cross-domain messaging. You need to use CKFinder on the same domain where is has been installed.