When i click a link first time ckFinder is getting open in the popup. but after closing the popup if i click the link again then second time it is opening popup but it is just empty popup(don't see ckFinder in it.). This behavior in happening in the IE and Chrome browsers it is working fine in the Firefox though.
Here is my the sample code to open ckFinder in the popup.
$('a.link').click(function(e) {
var finder = new CKFinder();
finder.popup();
return false;
});
Please advise.
Thanks,
Amit
Here is my the sample code to open ckFinder in the popup.
$('a.link').click(function(e) {
var finder = new CKFinder();
finder.popup();
return false;
});
Please advise.
Thanks,
Amit

Re: CKFinder popup issue
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: CKFinder popup issue
Re: CKFinder popup issue
You said that it is happening in Chrome and IE. Do you see any errors messages in console tabs of those browsers development tools?
Re: CKFinder popup issue
I copied the code below from the sample popup.html of ckfinder and the button calls the browseServer().
Any help would be appreciated. Thanks.
function BrowseServer()
{
var finder = new CKFinder();
finder.basePath = '../../'; // The path for the installation of CKFinder (default = "/ckfinder/").
finder.selectActionFunction = SetFileField;
finder.popup();
}
function SetFileField( fileUrl )
{
document.getElementById( 'xFilePath' ).value = fileUrl;
}
Re: CKFinder popup issue
Uncaught TypeError: Cannot call method 'bD' of undefined
Re: CKFinder popup issue
http://ckfinder.com/download
Re: CKFinder popup issue
Like amitpatel, I'm having the issue on chrome 14 and IE 8 but working fine with firefox. Haven't tried using the ckfinder 2.1 though. Will try it and post the result. Thanks.
Re: CKFinder popup issue
Re: CKFinder popup issue
public override bool CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
// return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs on your system.
return true;
}
....
LicenseName = "XXXXXXXXXXXXXXXXXX";
LicenseKey = "XXXX-XXXX-XXXX-XXXX";
// The base URL used to reach files in CKFinder through the browser.
//BaseUrl = "/ckfinder/userfiles/";
BaseUrl = "/engine/";
// The phisical directory in the server where the file will end up. If
// blank, CKFinder attempts to resolve BaseUrl.
BaseDir = "";
....
type = ResourceType.Add("PSMC Organization Logos");
type.Url = BaseUrl + "imgs/";
type.Dir = BaseDir == "" ? "" : BaseDir + "imgs/";
type.MaxSize = 0;
type.AllowedExtensions = new string[] { "bmp", "gif", "jpeg", "jpg", "png" };
type.DeniedExtensions = new string[] { };
-------------------------------------------
What are the other configuration that I need to do to make the samples work? I'm having a hard time following the documentation, is there a faq section besides the forums/discussions?
Re: CKFinder popup issue
Re: CKFinder popup issue
-Amit
Re: CKFinder popup issue
Re: CKFinder popup issue
Alternatively, could you attach a simplified HTML sample where this issue can be reproduced?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder popup issue
The popup issue is only happening in my project.
Re: CKFinder popup issue
Re: CKFinder popup issue
Re: CKFinder popup issue
im having this same issue also in Version 2.1. also in IE 8 / Chrome. Ckfinder opens the first time but the second time only a grey screen.
im following the js example from the demo (my site is also using drupal) but with a link, not a form button
<a href="javascript:void(0)" onclick="var finder = new CKFinder();
finder.basePath = Drupal.settings.basePath + Drupal.settings.ckfinderPath + '/';
finder.popup();return false;">('browse for file')</a>
i noticed in the Chrome Dev tools an error
/sites/all/modules/ckeditor/ckfinder/ckfinder.js?ly9ici:6
Uncaught TypeError: Cannot read property 'plugins' of undefined
Re: CKFinder popup issue
Re: CKFinder popup issue
http://www.autorally.ro/ckfinder/_samples/popup.html
Re: CKFinder popup issue
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder popup issue
Re: CKFinder popup issue
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder popup issue
Re: CKFinder popup issue
http://ckeditor.com/demo
Re: CKFinder popup issue
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: CKFinder popup issue
will not work even with CKFinder 2.2.1issue
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder popup issue
Re: CKFinder popup issue
Re: CKFinder popup issue
Re: CKFinder popup issue
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+