By Agropyron on
After installing FCKeditor I can't see it's bar in my text area when creating new page. Then I set it to open in new window - and I get link (Open rich editor) but after cliking it shows empty page, with two buttons at bottom (OK and Cancel), no place to edit text, just white page. These buttons are generating "Error on page" error, I have to close page by red cross. It's exactly the same in FireFox and IE7.
Please advise what should I do,
thanks and regards.
Comments
Have you installed the extra files needed?
Have you installed the extra files needed for it to work. Info is in the readme.txt file in the fckeditor folder?
gpdinoz
"Everything should be made as simple as possible, but not simpler." - Albert Einstein
Regards
Geoff
FCKeditor
Thanks, gpdinoz for the clue, to my shame, I haven't. Now I am downloading and installing extra files, according to the instruction. I will write back when it's done and running.
Regards.
Solved, but...
After dowlnoading editor files it is generally working fine, thank you again for help.
But one thing is not working (and I've written another post about it) - files uploading.
Trying to upload file from within FCKeditor, no picture shown, only "(Upload in progress, please wait...)" is being displayed until I close FCKeditor Resources Browser. I set 777 files rights for :files" and "images" folders, but it didn't help.
If you have some clues I would appreciate it very much,
regards.
try IMCE
If you haven't already done so try installing the IMCE image/file uploader and browser module. It works very well with FCKeditor and it supports personal user directories and user quotas as well.
I have installed IMCE, and
I have installed IMCE, and still no success :(
Now I can see pictures in files/myfolder, and when I add it, the picture is shown in body area - but is not shown in preview nor after submitting the page (not even epmty box with red cross, just nothing there). Funny thing is, it IS THERE, because when I start to edit the page again, I can see the picture!
I am really confused, I've been trying to get it working for three days now :(
Regards
You need to configure the connectors.
The WHAT?
I really like Fckeditor because it has file and image uploading and automatically linking BUT it can be a pain to get working. Now I have to remember what I do to get it to work...thinking music....
You don't need IMCE. Fckeditor will do it all once it is configured correctly.
OK. Version 5. These are the files you need to edit.
modules/fckeditor/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php
To use the php connector line 24 in each of the above files need to be changed to
$Config['Enabled'] = true ;
This enables the php connector
Change the following to where you want to the files uploaded to. below is what I use.
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/files/' ;
NOW
modules/fckeditor/fckeditor/fckconfig.js line 144 and 145
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
line 151
FCKConfig.LinkBrowser = true ;
line 156
FCKConfig.ImageBrowser = true ;
keep going down to line 176 changing these lines to true
FCKConfig.FlashBrowser = true ; (if you want to upload flash)
FCKConfig.LinkUpload = true ;
FCKConfig.ImageUpload = true ;
FCKConfig.FlashUpload = true ;
Simple really. Any 7 year old with a Phd in computer Science and Astro Physics can do it.
Now it should work (I think). As you said make sure CHMOD is 777 on folders you are writing to.
Following are test pages that will give you more info on why if it still doesn't work.
modules/fckeditor/fckeditor/editor/filemanager/browser/default/connectors/test.html
modules/fckeditor/fckeditor/editor/filemanager/upload/test.html
As you can see it is not obvious. I only got it working originally by going through every file until it made sense.
All the best with it
gpdinoz
"Everything should be made as simple as possible, but not simpler." - Albert Einstein
Regards
Geoff
thanks
Thanks, works perfectly now!
print $scripts
My theme was not making use of
$scrips. Adding that solved my similar problem.What does it mean? Where and
What does it mean? Where and how to check it?
I am using garland theme, it's standard one, no changes to it has been made.
I just went through this
Hi there,
I just went through this today and had the same thing happening. Looked fine in the FCKeditor
window and the preview within this window was fine.
When it came time to preview and submit, the image was no where to be seen. The issue was
of course with the protein based interface sitting at the keyboard.
Check to see if you have Full HTML (instead of Filtered HTML) selected in the Input Format drop
down in the story editing section. Once I did this, presto! Images on the site
Pat
cant even find FCKeditor in the list of modules
you guys must all be semi-genius developers.
i'm just some guy trying to blog with drupal. and man i'm suffering.
i downloaded FCKeditor, read the readme, put it in my modules directory.
but it doesnt even show up in my list of modules.
anything i can do about this without hiring someone with programming skills?
Can't find FCKeditor in list of modules??? SOLVED!
Dude - The reason why it's not showing up in the list of modules for you is that you've probably downloaded the wrong thing. The correct DRUPAL download can be found here.
http://drupal.org/node/16118/release
Problem with image upload in FCKeditor
Was hoping anyone here could help me get the image upload working in FCKeditor. I'm running 2.5 on Drupal 6. Everything else seems to be working except image upload. When the browser loads I just get "This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file"" . Which of course I have. I've followed the instructions in the Readme-file and changed config.php accordingly. I really have no idea what to do now.
Please help before I go totally bonkers...
look here:
look here: http://drupal.org/node/238415