Hi,
I have tried to integrate ckfinder into ckeditor. And it works almost.
The only problem I have is that I get an empty error when I press 'Upload selected File'.
So, I get an alert box, with this content:
Information
Error:
Hi,
I have tried to integrate ckfinder into ckeditor. And it works almost.
The only problem I have is that I get an empty error when I press 'Upload selected File'.
So, I get an alert box, with this content:
Information
Error:
Re: Empty error when uploading image (possible bug?)
i also got these error messages in ff 4.0b12 with ckfinder 2.02, even if the FileUpload was ok and fine.
What version did you use and how did you call the OnUploadCompleted function?
I am told to use it this way:
I think it's a bug. (maby associated with ff?)
I will test with IE ...
Re: Empty error when uploading image (possible bug?)
folder content (GetFiles) after FileUpload (successfully) is done is also missing.
Re: Empty error when uploading image (possible bug?)
tested with FF3.6.13 : same behaviour as FF4.0b12, empty error-message and no auto refresh after successful fileupload.
It seems to me that something is broken in ckfinder's FileUpload/OnUploadCompleted-callback-function.
Maby someone from support can have a look at this?
Re: Empty error when uploading image (possible bug?)
@Milagro - as we are already discussing via PM about your custom server connector, I have send you a PM with more instructions.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Empty error when uploading image (possible bug?)
it's an issue of linebreaks in the response.
Please remove all of them and the OnUploadCompleted-callback should work fine.
Even in ff4.0b12 and other browser/versions i mentioned
@wiktor: Many Thanks for you help!
Re: Empty error when uploading image (possible bug?)
Re: Empty error when uploading image (possible bug?)
I solved that issue via removing the linebreaks in the OnUploadComplete response.
What server-side-language did you use?
I would first suggest updating ckeditor and ckfinder to the latest version if you already don't have.
If you use php try changing FileUpload.php in ckfinders /core/connector/php/php<x>/ErrorHandler.
Try puting the OnUploadComplete(...) output with the start- and end-script-tags in a single echo command.
Re: Empty error when uploading image (possible bug?)
I have just checked a fresh copy of CKFinder for PHP 2.0.2 on Firefox 4 RC1 and the issue seems to be gone.
I have confirmed it as well on the demo page (uploads are possible in the "Public Folder").
Could you confirm that the issue is gone on your side?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
intégration ckfinder dans fckeditor
Re: Empty error when uploading image (possible bug?)
Re: Empty error when uploading image (possible bug?)
Do you have any other ideas?
Re: Empty error when uploading image (possible bug?)
Or maybe just an idea as to where this error is generated, so I can look into the code myself.
I'm out of options ..
Thanks anyway..
Re: Empty error when uploading image (possible bug?)
Please make sure to update Firefox to the stable release (Firefox 4.0 final).
If CKFinder works on our demo page, please try the following: download CKFinder 2.0.2 from our page and unpack it somewhere on your server (do not integrate it with your application yet). Enable it and launch one of the samples distributed wit CKFinder (e.g. the standalone sample). Let me know if you can upload images there.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Empty error when uploading image (possible bug?)
Hi,