I'm using the FCKeditor module and it installed fine. I cannot get images into the text box. I get this error message when I click the "Browse Server" button to locate the file that I would like to put into the text...

This connector is disabled. Please check the
"editor/filemanager/browser/default/connectors/php/config.php" file

I also have a problem changing the color of the text in the final and preview of the text. Anyone know a way around this in just changing certain words to a different color?

Comments

vm’s picture

looks like you stopped short reading the readme.txt

were these instructions followed ?

Security
--------
Note that enabling file uploads is a security risk. That's why there is a
separate permission in Administer > Access Control for enabling the file
browser to certain groups.

How to enable the File Browser (in FCKeditor 2.3.x)
---------------------------------------------------
The editor gives the end user the flexibility to create a custom file browser
that can be integrated on it. The included file browser allows users to view
the content of a specific directory on the server and add new content to
that directory (create folders and upload files).

To enable the file browser you need to edit the connector configuration file in
your fckeditor module directory, the file should be in:
/fckeditor/editor/filemanager/browser/default/connectors/php/config.php

In this file you will need to enable the file browser:
$Config['Enabled'] = true ;

To use the drupal files directory you also need to comment out or remove the
following line in the connector configuration:
//$Config['UserFilesPath'] = '/UserFiles/' ;

Furthermore, you will need to create a "File", "Image", "Flash" and "Media"
subdirectory in your drupal files directory. These directories must have the
same privileges as the drupal files directory. In some cases these
directories must be world writable (chmod 0777).

roeball’s picture

I'm confused to where I would upload the picture files to so that I can retrieve them with the editor. If I remove "//$Config['UserFilesPath'] = '/UserFiles/' ; will I be able to search any directory?

ontwerpwerk’s picture

Yes, these settings are set by the module to the default drupal files directory

--
I work for Ontwerpwerk

avolve’s picture

I have tried this locally using MAMP (drupal 5.0 beta 1) and on a sandbox site - both with the same issue.

I use the FCKeditor and all works well. Images upload fine, are visible when input format set to html, etc.

What the problem is, is that the FCKeditor uploads the files a directory higher than the drupal install. Site is installed at:

http://sandbox.mysite.com/drupal

So the files/images folder should be:

http://sandbox.mysite.com/drupal/files/images

What actually happens is FCKeditory loads the files here:

http://sandbox.mysite.com/files/images

Anyone else having this problem and/or have a solution??

FYI it makes using IMCE a problem as it uplods to the correct path. FCKeditor will not allow pointing to this path to insert images from the directory...

avolve designs | ethical by design

vm’s picture

are you using the private file system or public ? maybe this should be turned into an issue on the fckeditors project page.