Hello,
I have CKFinder working properly in standalone mode, but when I try to integrate it into FCKeditor it fails with a 200 error when I click on the Image Browser (the link browser works fine!)...
When I try to access: http://host/ckfinder/core/connector/php ... ype=Images I get php output:
<?php
/*
* CKFinder
* ========
* http://www.ckfinder.com
etc...
When I access the url without the: type=Images I get good XML data back.
What can I do, is there some php permission problem or what, I shouldn't see the actual php script source like I am...
HELP, I've tried everything I can think of.
Sun, 04/06/2008 - 04:03
#1
Re: CKFinder works in Standalone but getting XML error w/ FCKEdi
<FCK:editor id="EditorDefault" basePath="/worldguide/fckeditor/"
imageBrowserURL="/worldguide/ckfinder/ckfinder.html?type=Images"
linkBrowserURL="/worldguide/ckfinder/ckfinder.html"
flashBrowserURL="/worldguide/ckfinder/ckfinder.html?type=Flash"
imageUploadURL="/worldguide/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images"
linkUploadURL="/worldguide/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files"
flashUploadURL="/worldguide/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash">
<c:out value='${place.pageText}'/>
</FCK:editor>
Re: CKFinder works in Standalone but getting XML error w/ FCKEdi
Did you try to check logs?
When you open
http://host/ckfinder/core/connector/php ... ype=Images
can you see the full source of this PHP script?
This is really a server issue, but very strange is the fact that adding "&type=Images" causes such problems.
If I understood correctly, http://host/ckfinder/core/connector/php ... type=Flash works fine(?) ... I have never seen such issue before.
Anyway, I would check this:
- In configuration file, you have "/worldguide/" in urls, the example url that you posted doesn't contain "worldguide".
- logs, be sure to enable error_reporting, set it to E_ALL, enable log_errors, set display_errors to on if possible (and use Firebug to trace ajax calls), remember to restart your web server after changing this settings
- permissions: check directory permissions, make sure that you're checking the right directory and that images directory has same permissions and owner as flash directory
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+