When I click on the Browser Server link in the CKEditor, the CKFinder window opens up and these two dialogs appear:

XML request error: OK (200)
Do you want to see more info?

I click OK and then see:

URL requested: "http:///sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=Init&langCode=en"
Server response:
Status: 200
Response text:

I then see a CKFinder window with the heading "Folders" on the left and nothing else visible.

This error message appears in both Firefox 3.5.5 and IE 8 (patched up). Chromium doesn't show the warnings but shows the same empty CKFinder window.

I searched on the errors above but received little results, and none that matched my setup here. I followed the installation as outlined in the CKEditor module's README.txt. CKEditor itself seems to be working just fine.

I'm using:
CKEditor module 6.x-1.0
CKEditor 3.1
CKFinder 1.4.2

Comments

punchmonkey’s picture

Status: Active » Closed (fixed)

After installing again and comparing to the install above which gave me grief I found the problem ... a typo in config.php. I hope I didn't waste anyone's time here. For future reference, "php -l config.php" is a great idea when troubleshooting problems :-)

juve76’s picture

I am having the same problem. But confused as to where in config.php to make the change you suggested.

physiotek’s picture

juve76, maybe u did the same mistake i did...
from the readme:
II) add:
require_once '../../../../includes/filemanager.config.php';
straight below the following line:
$baseDir = resolveUrl($baseUrl);
so i added:
require_once '../../../../includes/filemanager.config.php';
straight below the following line:
$baseDir = resolveUrl($baseUrl);
of course on can understand i havnt took the time to read carefully...
u should only add:
require_once '../../../../includes/filemanager.config.php';
where it is stipulate it should go.
maybe my answer is too basic but hey that was my pb so maybe it'S yours too :)
pht3k

mpaler’s picture

Huh?

wwalc’s picture

If CKFinder gets an empty response, then probably a PHP error occured. Make sure you have followed the instruction.
In ckfinder\core\connector\php\connector.php you may disable error_reporting and enable displaying errors:
ini_set(' display_errors', 1);
error_reporting(E_ALL);

to see whats the problem.

wwalc’s picture

pasting code again...

ini_set(' display_errors', 1);
error_reporting(E_ALL);
compujohnny’s picture

You can watch a very nice screencast on How to Install CKfinder with CKeditor in Drupal and you will know exactly how to configure it correctly

hosais’s picture

After I set showing errors, I got error messages:

======

http:// ...
Server response:

Status: 200

Response text:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /public_html/sites/all/modules/i18n/i18nstrings/i18nstrings.module on line 147

=======

In the php.ini, I set memory_limit = 128M. I dont know why it would be 33554432 bytes? If I disable i18n, then other module similarly has out of memory error.

Any idea?

kgod’s picture

same problem, any ideas?

ghalenir’s picture

If any of you still see the problem even after following all the steps mentioned in the manual, make sure that you create a folder in the server based on this url.

I fixed my problem by changing this
$baseUrl = 'files/ckfinder/userfiles/';

I also created folders and gave write permission and now its fixed.

grieve’s picture

I too am getting a blank screen in the filebrowser window. The error log
indicate that file ../ckfinder/plugins/zip/plugin.js is NOT found. Indeed
there is no such file but only ../ckfinder/plugins/zip/plugin.php

Version info...
ckeditor (module) 7.x-1.9
ckeditor 3.6.3
ckfinder 2.3

Ideas, anyone?

kendouglass’s picture

In the ckeditor module README file you see this:

- for CKFinder installed in the "sites/all/libraries/ckfinder" directory:
require_once '../../../../../modules/ckeditor/includes/filemanager.config.php';

That works if your module is in sites/all/modules/ckeditor.
But if your module is in a different location like: sites/all/modules/contrib/ckeditor then you need to change that to:

require_once '../../../../../modules/contrib/ckeditor/includes/filemanager.config.php';