Posted by doubleeater on November 5, 2009 at 9:26pm
Jump to:
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-1.4 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I'm the admin for my site and the only way for me to get the upload image browser to work without getting the error "This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file" is to allow fckeditor uploads to anonymous users. I only want the admin to have this ability. In fact, I don't want anonymous users to have access to the fckeditor at all. I've tried all the remedies in the README file. Otherwise, the editor works fine when I enable anonymous users to upload files on fckeditor. How can I fix this?
Comments
#1
Does version 6.x-2.0 have the same issue?
#2
This is also an issue in 5.x-2.3, but I think it's a setup error instead:
" 2. As of Drupal 5.2, additional step is required: locate file named settings.php inside
your drupal directory (usually sites/default/settings.php) and set $cookie_domain variable to the appropriate domain (remember to uncomment that line). If you not do this, FCKeditor will claim that file browser is disabled"
While I was debugging, I saw that the global user object wasn't being set at the time of the user_access call, and that's how I figured out what was wrong.
Maybe you should add a hook_requirements check to make sure the cookie is set up right? If any role has upload file permissions but the cookie option isn't set, issue a warning. You could also check for the required modification to the plugin's config.php file.
#3
What you describe is how it works in 6.x-2.x