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.
Hi,
the instructions for configuring the CKEditor should read:
- for CKFinder installed in the "sites/all/libraries/ckfinder" directory:
require_once '../../../../../modules/ckeditor/includes/filemanager.config.php';
/Kevin
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedIf this path is correct:
so in the path
sites/all/libraries/ckfinder
u have one less directory so it is impossible to add one more../
like u write, because then u're probably under drupal directory.Pls check does u install CKFinder in correct path:
drupal_path/sites/all/libraries/ckfinder
.I closed this issue, because path to CKFinder is correct - if i write sth wrong or make mistake pls reopen this issue.
Greetings
Comment #2
kevin.mcnamee@mailbox.org CreditAttribution: kevin.mcnamee@mailbox.org commentedI have the following directory structure:
/sites/all/modules/ckeditor
/sites/all/libraries/ckfinder
which means that the path "../../../includes/filemanager.config.php" doesn't really make sense.
If ckfinder/config.php expects to navigate up three levels and then down to the "includes" directory in ckeditor, then it will need to switch between "libraries" and "modules" in between, hence the addition of "../../modules/ckeditor". The result is:
/Kevin
PS. I should mention that this works for me. The original instructions do not.
Comment #3
kevin.mcnamee@mailbox.org CreditAttribution: kevin.mcnamee@mailbox.org commentedComment #4
dczepierga CreditAttribution: dczepierga commentedI'm really sry it was my big mistake, u're right.
I change this in documentation and commit it to GIT (diff).
I also change this in Drupal 7: #1595606: [D7] Wrong instructions for configuring CKFinder
Again really really thx for find this bug.
Greetings