Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.0
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Feb 2010 at 22:03 UTC
Updated:
31 May 2016 at 08:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pinxi commentedI have the same issue with the image browser. Flash and link works. I did the followed the directions below. Now the browser works when I go directly to the ckfinder.html file, but doesn't within the ckeditor.
This works:
http://example.com/drupal/sites/all/modules/ckeditor/ckfinder/ckfinder.html
This doesn't work (which is launched when clicking the image button in ckeditor.)
http://example.com/drupal/sites/all/modules/ckeditor/ckfinder/ckfinder.h...
The Flash works though:
http://example.com/drupal/sites/all/modules/ckeditor/ckfinder/ckfinder.h...
And File works:
http://example.com/drupal/sites/all/modules/ckeditor/ckfinder/ckfinder.h...
Comment #2
wwalc commentedIf the url is ok, the "page not found" erro may come from things like mod_security... in any case if you can send me a PM with a link where I can see this bug live then it could help me understand the problem.
Comment #3
wwalc commentedComment #4
compujohnny commentedYou 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
Comment #5
irishjays commented.../modules/ckeditormodule/ckfinder/ckfinder.html?Type=Images&CKEditor=edit-body&CKEditorFuncNum=2&langCode=en
Brings up Page not found for me. Does it have something to do with the module folder I called ckfindermodule?
I unchecked CKeditor in modules, changed the directory to ckeditor instead of above, then went back and checked ckeditor in modules.
Still no permissions for ckfinder...
Is there something I messed up?
Comment #6
dtougas commentedI am experiencing the same problem with my install.
Comment #7
smanes commentedI'm not getting a "Page Not Found" but it IS ignoring the sites/default/files/ directory and instead rooting the image browser at sites/default/files/images. That is, it skips right over the files/ directory.
The setup under admin/settings/ckeditor/edit/Advanced is:
Path to uploaded files: /sites/default/files/
Absolute path to uploaded files: %d%b%f/
Those settings should be exposing images in the files/ directory to CkFinder, right?
Comment #8
irishjays commentedAnyone working on this module here? Should i write to the people at CK?
Comment #9
wwalc commentedCan anyone send me a PM with a sample login/pass where I can see this bug live? I cannot reproduce it locally so it seems I'm missing something here.
@irishjays - any chance for a PM with link?
Comment #10
irishjays commentedHey everyone, I suppose the page not found explained it all. I copied CKFINDER into the same directory as the COPY HERE.TXT meant for CKEDITOR. Anyone experiencing this issue check that you didn't copy the CKFINDER to the directory with COPY HERE.txt in it. This is counter intuitive, I suggest we change COPY HERE.TXT to COPY CKEDITOR HERE.TXT and then another called COPY CKFINDER HERE.TXT in the right directory. That directory is:
modules/ckeditor/CKFINDER
It seems easy enough by reading the instructions but as anyone familiar with WYSIWYG drupal it's always copied into a folder within a folder and the copy here text makes it an easy mistake.
Working great, I love it.
Comment #11
sethleonard commentedI'm having the same problem (page not found).
If it helps, I found that if I remove "&CKEditor=edit-body" from the query string:
Type=Images&CKEditor=edit-body&CKEditorFuncNum=2&langCode=en
It works. Sorry I can't give you a live URL, wwalc, only the administrator can create content on my site.
Comment #12
okkingaj commentedThere is one more thing not mentioned in the screencast. The rights of the folder sites\default. I did not have this issue when installing from installatron. But I did run into this when installing from CVS. Changing the rights of said folder to 555 solver the problem for me.
Comment #13
superpowerchicken commentedHi there, I had this same issue described in post #1 but resolved it by clearing my browser cache and restarting the browser.
I was following the install video mentioned in post #4 but was playing around with things in between.
I think the key to reproduce the issue is:
1. Set up ckeditor first and set the file browser to ckfinder.
2. Try out ckeditor on the site. Click the image button and click 'Browse Server' (it doesn't work).
3. Complete installation of ckfinder etc.
Then I get the page not found error.
Clearing the browser cache and restarting cleared the issue.
Comment #14
mephir commentedIf you have any lack of clarity about issue, feel free to reopen it.
Comment #15
plugnplay commentedThank you superpowerchicken. I had this problem with 'page not found' as well and can confirm that I originally tried browsing with CKFinder before I had actually installed (maybe the cause of the problem?).
I tried the tip for clearing my browser cache then restarting the browser, which wasn't normally the sort of thing that I would expect to clear a problem like this, but it worked great.
Comment #16
pendashteh commentedit might help someone. i had the same problem. it worked without query and returned "Page not found" with query.
i just commented the line below in drupal main .htaccess
it worked. then i uncommented it again
and it still works! and i don't know why!
Comment #17
narendrak commentedWill CK finder Demo version work fine after site is live?
Comment #18
remoran commentedI simply cannot believe that Browse Server is NOT part of the equation here. I build sites for a living and not having the ability to browse for files is stupid. Dreamweaver has had this for YEARS!!! I have been farting around for hours trying to get the damn browse server settings for ckeditor to work and cannot get it to run. Get browse for server working and be done with it. This is just inexcusable that this function is not built into the module from the get go. Get with it people and fix it!!
Comment #19
pumpkinkid commentedActually, after mucking around with the settings, found out I needed to clear my cache on the performance page...
It was user error on my part...
You need to understand that while Drupal works wonderfully, each module is maintained by people who are donating their time to further development...
In the case of CKEditor/CKFinder, they are two separate modules that were developed for use outside of Drupal... All this module does is implement it's use within Drupal...
BTW, just cause Dreamweaver has the functionality, does not mean that Drupal works the same way... there are many security issues that we need to keep in mind as opposed to Dreamweaver that is used by users that already have full server access...
Comment #20
remoran commentedI understand. Drupal itself is terrific. No argument but at the same time, the browse for server function is an essential part of getting anything done on the web, a operation that should be part of every wysiwyg app no matter what CMS the component is designed to work with.
Comment #21
pumpkinkid commentedNot if everybody on your website (if you allow users other than yourself) has access to the wysiwyg... Think about how bad it would be if you allowed everyone to browse your server...
This editor in particular separated the function so that you could use a different module for browsing the server such as IMCE...
Did you get the finder to work after refreshing your cache? If not you may want to see if IMCE works better for you.
Comment #22
mseraphim commentedI assume you already sorted out your problem, but for anyone else struggling with this, hopefully this will help.
I updated all my drupal site's modules to the latest versions, just to find out Ckeditor wasn't working. In the update process I disabled the ckeditor module and deleted the old folder from my site. I then uploaded the new version, ran update.php and enabled ckeditor. After all this I realized it's still not working. I had to download the ckeditor software from http://ckeditor.com/download and upload that to the ckeditor folder of the module I already installed. Nice one, now Ckeditor works fine, however browsing the server didn't - PAGE NOT FOUND.
From here I had to download the ckfinder from http://ckfinder.com/download and extract it into my ckeditor/ckfinder directory as well. Then I had to edit the config.php file and there you go, all working great.
IF YOU HAVE PROBLEMS WITH THIS, READ THIS IMPORTANT POST:
Ckeditor and ckfinder installation @ http://drupal.org/node/728210 Posted by Ciril Tharayil
Great Stuff, hope this helps.
I think they should post details regarding upgrading the ckeditor module to a newer version, warning folks that they would need to setup ckfinder from scratch again.
Cheers,
Mseraphim
Comment #23
dczepierga commentedComment #24
aaronmeister commentedI too was having the 404 issues and this is that one step that I forgot! After I changed the permissions to 777, then edited the file, added 555 back, it worked.
Now I just need to find a way to use the browse server function while the site is off-line for maintenance.
Comment #25
kd0afk commented"3. Grant "allow CKFinder file uploads" permission in "Administer > User Management > Permissions""
Where is the Administer link. I am using drupal7 with the administration menu module.
Comment #26
Marchena-1 commentedAlso having issue with CkEditor - Page not found.
Is there a way i can have you look into my site so I can figure this out?
Comment #27
datarazor commentedOkay for anyone who also has this issue, I found out that the issue is that the connector had permission issues.
When you surf to:
/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.phpYou should see a WHITE page, if you get a 404, you could have a permission problem.
Try putting a new PHP file called: test.php in this folder with just:
In it, does it say "test" when you navigate to this test.php file?
/sites/all/modules/ckeditor/ckfinder/core/connector/php/test.phpIf it does not, go to your website in SSH (or cpanel file manager or what-not) and select the ckfinder folder and change all the permissions of it, and all subfolders, to 755.
From terminal this would be:
#chmod -R 755 sites/all/modules/ckeditor(Assuming you are in public_html)
Now when you go to the connector.php you should see a WHITE page if it is configured correctly.
Spent a looong time thinking it was a setting issue in my setting.php or config.php or the ckeditor settings, but in fact it was just a simple permissions problem.
I hope this helps someone else!
Comment #28
lucsar commentedRight! Solved (finally) for me. ;)
Thanks
Comment #29
rachanakamlesh commentedHi,
I have a question on ckfinder configuration.How can I configure CKFINDER for Multi-site functionality ?.
I have setup ckfinder for single site but when I switched to multisite How can I achieve this ?.
Thanks,
-Kamlesh
Comment #30
sushantverma.it commentedHi
You can put the ckeditor on sites/all/module/contribe/ckeditor and put the ckeditor plugin (configure form live path "//cdn.ckeditor.com/4.5.9/full-all") and ckfinder in sites/all/libraries/----.
For configure ckfinder - please ckfinder/conf.php - add below line at the top of the file.
require_once '../../../../../modules/ckeditor/includes/filemanager.config.php';
If you have any query/concern, please comment on the same thread.
Cheers
-Sushant
Comment #31
sushantverma.it commented