Hi all, and thank you in advance for reading and your help. The issue is simple: I cannot get Ck finder 1.4.3 to work with ckeditor 3.2 in Drupal 6.16. I have followed the instructions in the ckeditor readme file and I can see the browse server button and upload tab from ckfinder in ckeditor but i cannot upload and image through ckeditor. Upon attempted upload i receive a security message that ck finder is disabled. I believe my problem is similiar to this thread http://cksource.com/forums/viewtopic.php?f=10&t=17095 but with the exception that I want to limit ckfinder access to trusted employees on a single domain, http://it-trib.com. I have the correct permission set in Drupal admin but cannot upload when logged in as admin, or as editorial staff. I have tried this documentation http://docs.cksource.com/CKFinder/Developers_Guide/PHP/Configuration/Sessions but it isn't working. What am I doing wrong?
CKFinder is installed correctly because when I give anonymous users permission to upload, I can successfully upload; however, I do not want to give unrestricted access to my server like that. I have searched for a good while on the CheckAuthentication function and have found workarounds like this one http://cksource.com/forums/viewtopic.php?f=10&t=9166, but none so far have worked. And yes, i have found the CKSource CheckAuthentication Function and tried it but it didn't work either.
I really like the CK stack and would absolutely be thrilled to use CKFinder if I could get it working. Can anyone poitn me to a tutorial or have any advice? I'm running a VPS server with centos, php 5, drupal 6.16, and mysql. Thank you once again.
Sat, 03/20/2010 - 21:32
#1
Re: CKeditior + CKfinder + Drupal 6.16
I added some code to dump values to a file to try to see why the if{} was firing:
When 'allow CKFinder file uploads' is set only for authenticated user, the values dump as follows:
So $_config->getIsEnabled() appears empty when accessed directly.
When 'allow CKFinder file uploads' is set only for anonymous and authenticated users, the values dump as follows:
So why doesn't the method call return properly when only the authenticated user is granted perm? Is there a type problem of some kind here?
Re: CKeditior + CKfinder + Drupal 6.16
Cookie setting doesn't matter if you don't have to be authenticated.