Hello,
I know that the problem of Cross-Domain-Scripting with CKFinder and CKEditor has been addressed in this forum, and I stumbled upon a posting (though I can't find it now) which seems to have given some sort of solution via PM.
We would like to purchase a CKFinder license, but it is imperative that it be installed on a different host than CKEditor. The CKEditor I need to use is integrated in an Oracle-Application, in order to use the PHP-Version of CKFinder it has to be installed on a different server. We need to integrate CKFinder mainly for the purpose of browsing and uploading images for later inclusion in CKEditor.
Both servers are addressed via https [*]
I have spent days trying to figure out a way to do this with the demoversion of CKfinder (2.0.2) and have almost succeeded by
- setting the document.domain to the same domain in both CKeditor and CKfinder via Javascript and
- using absolute URL ($baseUrl) resp. absolute path ($baseDir) in CKFinder's config.php.
Browsing and selection of images works, image resizing, thumbnails etc. works, Error messages (e.g. wrong file format) are displayed.
Here's the problem I am stuck with:
When I upload images via Image-Button => Browse Server => Upload, the upload actually works (= images are being uploaded in the background), but
- the upload dialogue does not disappear
- the image folder (thumbnails) is not being refreshed
- no feedback messages are displayed (e.g. "image had to be renamed")
... all of which DOES work in the /_sample-implementations (with CKEditor on the same machine just for testing)
I feel like I am there 99,9%, but I can't get that last bit right
Would someone please help me?
Thank you very much in advance,
regards,
Alex Kren
~~~~~~~~~~~~~~~~~~~~~~~~~~~
[*] The CKEditor-Server has to run with SSL, therefore we had to implement SSL on the second server as well in order to work around the cross-domain-scripting problem.
Tue, 04/19/2011 - 09:46
#1