Using Drupal 6.25 and just installed the latest/greatest CKeditor/CKfinder. Trouble is when I enable the CheckAuthentication function in the ckfinder/config.php file and try to test I receive an error message that states that I cannot redeclare CheckAuthentication as it's already declared in the
ckeditor/includes/filemanager.config.php file. And there IS one within that function but it certainly looks considerably different than the one within the ckfinder/config.php file.
My research on this topic results in a round robin where I need the function in the ckfinder/config.php file for it to function but I am hesitant to remove it from the cdeditor/filemanager.config.php file.
Has anyone experienced this and if so what was done to enable ckfinder to work?
Thanks
ckeditor/includes/filemanager.config.php file. And there IS one within that function but it certainly looks considerably different than the one within the ckfinder/config.php file.
My research on this topic results in a round robin where I need the function in the ckfinder/config.php file for it to function but I am hesitant to remove it from the cdeditor/filemanager.config.php file.
Has anyone experienced this and if so what was done to enable ckfinder to work?
Thanks
Re: CheckAuthentication (Again) :?:
Hi,
do you use open source (http://drupal.org/project/ckeditor) or commercial (http://ckeditor.com/ckeditor-for-drupal) version of CKEditor module for Drupal ?
If you use open source version, please read:
"Installing CKFinder" section of README file included into module.
You can also watch screencast: http://jesox.com/posts/how-install-ckfinder-ckeditor-drupal, it is for Drupal 6 but in Drupal 7 everything is pretty similar.
In commercial version CKFinder is enabled by default, so it should be no problem with it.
Re: CheckAuthentication (Again) :?:
I was trying to use the commercial version but until our purchasing dept purchases the license I guess we'll be stuck with the free version. So on Drupal 6.25 I disabled and uninstalled the commercial version (ckeditor-for-Drupal) then installed and activated the ckeditor-6.x-1.10.tar.gz modules, untared the ckfinder module within the above directory, did a Drupal reset and now here's what I receive:
It was not possible to properly load the XML response from the web server.
XML Parsing Error: junk after document element Location: http://www.law.uconn.edu/sites/all/modu ... angCode=en Line Number 2, Column 1:Fatal error: Cannot redeclare checkauthentication() (previously declared in /var/www/html/drupal-6.25/sites/all/modules/local/ckeditor/ckfinder/config.php:25) in /var/www/html/drupal-6.25/sites/all/modules/local/ckeditor/includes/filemanager.config.php on line 79
^
Raw response from the server:
Fatal error: Cannot redeclare checkauthentication() (previously declared in /var/www/html/drupal-6.25/sites/all/modules/local/ckeditor/ckfinder/config.php:25) in /var/www/html/drupal-6.25/sites/all/modules/local/ckeditor/includes/filemanager.config.php on line 79
Based on the same fatal error (Cannot redeclare ckeauthentication()) I opened the ckfinder/config.php and commented out that section.
now I receive:
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file
So now I'm confused! Which is it? the checkauthentication function in the ckfinder/config.php OR the checkauthentication function in the ckeditor/includes/filemanager.config.php???
What perhaps should be an hours work has turned into a frustrating multi-day task and it still doesn't work.
Any ideas/suggestions as to what I can do to get this working would be GREATLY appreciated because I have content editors calling me in minute intervals.
Thanks
Re: CheckAuthentication (Again) :?:
This is the easiest solution I think.
To run CKFinder (you also need license to use this software) with free version of CKEditor module please read "Installing CKFinder" section of README file included into module.
You should remove "CheckAuthentication" function from CKFinder's config.php file and leave this in "sites/all/modules/local/ckeditor/includes/filemanager.config.php".