I have installed fckeditor from the cvs files on a test installation on my local machine.
I get the following error message when I attempt to create content (either page or story) in the body section of the submit page.

Not Found
The requested URL /modules/fckeditor/lib//editor/fckeditor.html was not found on this server.

Apache/1.3.27 Server at localhost Port 80

I have seen reference to this error elsewhere here, but not to a solution.

Thanks for any assistance anyone is able to give.

Comments

pz’s picture

Don't know if it helps, but to remove the extra slash in the path you can go to admin/settings/fckeditor and remove the trailing slash of the path to fckeditor.

miker-1’s picture

Thanks; I wondered how to get rid of that slash.

Unfortunately it has not solved the problem.

pz’s picture

Priority: Normal » Minor

After some testing it seems that the slash is needed otherwise it doesn't load images. So it is only a minor annoyance that the path looks weird.

Anonymous’s picture

I don't mean to imply anything here . . . but have you installed drupal in a subdirectory? In that case, the path wouldn't be /modules/fckeditor . . . . now would it?

There's a configuration option in the config file, but you have to manually edit it :)

Anonymous’s picture

What a pain tracking this down!

I finally got things to load by changing the following line in the fckeditor.module file from this:
$base_path = variable_get("fckeditor_base_path", '/modules/fckeditor/lib/');
to this:
$base_path = variable_get("fckeditor_base_path", '');

However, I did not check out the cvs code and was using the module I downloaded on feb 27, 2005.

Hope it works for you too ;-)

voipfc’s picture

I think the FCKEditor needs better documentation, but this is seems to be a general problem.

I think coders should explain what is required, or the necessary preconditions for a piece of code to work properly. Different users have different apache/php/directory layouts, if the code explains what is required at least the more savvy users will be able to work things out.

I myself spent an hour or so on FCKEditor before I was able to get it work, and I certainly did not use the above technique.

A few judicious assertions and some comments should make a lot of these problems go away.

Anonymous’s picture

Likewise, I've had no luck getting my file (or link) browsing settings to work. I've tried a wide variety of tweaks, creating and chmoding new DIRs on two different webservers (windows apache and rdedhat fedora 3). Does anyone have suggestions?

Thanks in advance,
Drew

h3’s picture

I have always the same problem

Not Found
The requested URL /modules/fckeditor/lib//editor/fckeditor.html was not found on this server.

Apache/1.3.27 Server at localhost Port 80

The first time I figured out how to make it work, but now am reinstalling it on another site and I have the same problem.. and i can't remember what I did last time. There is certainly a lack of documentation here.

skudpond’s picture

If anyone runs into this issue and can't figure out the problem I fixed in my installation through the following steps:

1) Start with a clean installation of the fckeditor
2) Install fckeditor drupal module:
parent_path/drupal/modules/fckeditor/fckeditor.module
parent_path/drupal/modules/fckeditor/ssid/.*
3) Create a lib directory as follows:
parent_path/drupal/modules/lib
and make sure it has write permissions for your web server
4) Enable the module under administer->modules
5) Configure the settings under administer->settings->fckeditor. Your path must be:
modules/fckeditor/lib/
Do not add a / at the beginning but make sure there is one at the end. Otherwise you will get an error about the fckeditor.html not found
6) This partially fixes the problem in firefox/mozilla but the images no longer show up. You can get them to display by editing the fckeditor.module as described at:
http://drupal.org/node/27158

Annika’s picture

Skudpond, could you please clarify:

"2) Install fckeditor drupal module:
parent_path/drupal/modules/fckeditor/fckeditor.module
parent_path/drupal/modules/fckeditor/ssid/.*"

What is this directory for? "parent_path/drupal/modules/fckeditor/ssid/.*"

"3) Create a lib directory as follows:
parent_path/drupal/modules/lib"

Did you really put the "lib" straight into the modules directory and not in modules/fckeditor/lib as the path that follows in step 4 indicates?

Annika’s picture

Skudpond, could you please clarify:

"2) Install fckeditor drupal module:
parent_path/drupal/modules/fckeditor/fckeditor.module
parent_path/drupal/modules/fckeditor/ssid/.*"

What is this directory for? "parent_path/drupal/modules/fckeditor/ssid/.*"

"3) Create a lib directory as follows:
parent_path/drupal/modules/lib"

Did you really put the "lib" straight into the modules directory and not in modules/fckeditor/lib as the path that follows in step 4 indicates?

kamran-1’s picture

I did as "skudpond" sugusted on July 27, 2005. Through this it is working quit well but icon is not coming functionality is their even I can find out which button for “Bold” or which one for “Italic” because of hot text over the button but it is very awkward with out icon. Can any one resolve this problem? I shall be very grateful to you.

junyor’s picture

Status: Active » Fixed

Fix committed for DRUPAL-4-6 and HEAD.

Anonymous’s picture

szczym’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)
vladn’s picture

Version: » 5.x-1.3-beta

file:
mambots/editors/fckeditor.php

Line:97

replace:
oFCKeditor.BasePath = "/mambots/editors/fckeditor/" ;
with
oFCKeditor.BasePath = "$mosConfig_live_site/mambots/editors/fckeditor/" ;