Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-1.3-beta
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2005 at 06:27 UTC
Updated:
17 Sep 2007 at 10:52 UTC
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
Comment #1
pz commentedDon'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.
Comment #2
miker-1 commentedThanks; I wondered how to get rid of that slash.
Unfortunately it has not solved the problem.
Comment #3
pz commentedAfter 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.
Comment #4
(not verified) commentedI 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 :)
Comment #5
(not verified) commentedWhat 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 ;-)
Comment #6
voipfc commentedI 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.
Comment #7
(not verified) commentedLikewise, 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
Comment #8
h3 commentedI have always the same problem
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.
Comment #9
skudpond commentedIf 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
Comment #10
Annika commentedSkudpond, could you please clarify:
What is this directory for? "parent_path/drupal/modules/fckeditor/ssid/.*"
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?
Comment #11
Annika commentedSkudpond, could you please clarify:
What is this directory for? "parent_path/drupal/modules/fckeditor/ssid/.*"
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?
Comment #12
kamran-1 commentedI 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.
Comment #13
junyor commentedFix committed for DRUPAL-4-6 and HEAD.
Comment #14
(not verified) commentedComment #15
szczym commentedComment #16
(not verified) commentedComment #17
(not verified) commentedComment #18
vladn commentedfile:
mambots/editors/fckeditor.php
Line:97
replace:
oFCKeditor.BasePath = "/mambots/editors/fckeditor/" ;
with
oFCKeditor.BasePath = "$mosConfig_live_site/mambots/editors/fckeditor/" ;