Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
These instructions no longer seem to be valid: http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7/CKFinder because the config.php has changed format.
Does anyone know the method to install CKFinder in Drupal now?
The filemanager.config.php still creates this CheckAuthentication() function and uses $baseDir, which the new CKFinder doesn't seem to use.
Comment | File | Size | Author |
---|---|---|---|
#15 | ckfinder-config.patch | 516 bytes | whiz11 |
#14 | ckfinder-config.patch | 519 bytes | whiz11 |
#13 | ckfinder-config.patch | 513 bytes | whiz11 |
Comments
Comment #1
Rob230 CreditAttribution: Rob230 as a volunteer commentedComment #2
Rob230 CreditAttribution: Rob230 as a volunteer commentedComment #3
eesquibel CreditAttribution: eesquibel commentedI was able to get it working by adding the following to the ckfinder/config.php, right before the last line "return $config". This is with ckfinder being in my sites/all/libraries folder
Comment #4
klevyke CreditAttribution: klevyke commentedIn the case you have the files in the ckeditor folder you can make it work by changing the first line of the above code to:
require_once '../../../../includes/filemanager.config.php';
Comment #5
cebab54 CreditAttribution: cebab54 as a volunteer commentedThis does not work with the latest versions of CKfinder 3 and CKEditor 4
Comment #6
cebab54 CreditAttribution: cebab54 as a volunteer commentedThis does not work with the latest versions of CKfinder 3 and CKEditor 4
There is no includes folder any longer
Comment #7
benjarlett CreditAttribution: benjarlett commentedactually #3 worked for me with ckeditor 4.0.2 and ckfinder 3.4.2 on drupal 7 with ckeditor 7.1.18
Comment #8
gouky10 CreditAttribution: gouky10 as a volunteer commentedIn my case drupal 7.58, ckeditor 4.9.1 and i have ckfinder in ckeditor directory
This solution works for me
Comment #9
jlipfert CreditAttribution: jlipfert commented@gouky10 This worked for me, thank you!!!
Comment #10
SilviuChingaru CreditAttribution: SilviuChingaru at MagazinulCuScule.ro for MagazinulCuScule.ro commented#3 works fine for me also.
Comment #11
mfuggle CreditAttribution: mfuggle as a volunteer commentedI am still having trouble with the installation of CKFinder. I am using Drupal 7.67, Drupal CKEditor Module 7.x-1.18, CKEditor 4.12.1 and CKFinder 3.5.2. I have the CKFinder folder in the ckeditor directory.
When I click the image button on the CKEditor toolbar and then Browse Server I see a modal window and then an error window is displayed with Invalid Request. I have implemented #8 but still get the same result.
I am not sure what '__FILE__' should be. I have set it to '/var/www/prod/public_html/sites/all/modules/ckeditor/ckfinder' which is the location of the config.php file.
If anyone can help I would appreciate it.
Comment #12
Pranay Agarwal CreditAttribution: Pranay Agarwal commented#3 worked for me.
Comment #13
whiz11 CreditAttribution: whiz11 commentedI am having difficulty when i want to automate this through a makefile. I have attached a patch to integrate this change. The patch should be applied on the library ckfinder(sites/all/libraries) and not the module ckeditor
Comment #14
whiz11 CreditAttribution: whiz11 commentedI have an issue with the contrib folder. I am adding another patch
Comment #15
whiz11 CreditAttribution: whiz11 commented