I keep getting a pop up window telling me that "You have chosen to open fckeditor.html" and prompting me to download the .html file. This happens while editing any node set to use FCKeditor. FCKeditor never appears only the popup window.

If I choose to download the .html file and open it using textedit, the file is blank.

I had FCKeditor configured and working fine. I installed WebFM and it stopped working. I've uninstalled WebFM and have been trying enabling and disabling other modules installed. I've tried uninstalling FCKeditor, deleting the files, re-uploading, and reinstalling. I've tried the alpha version of FCKeditor as well and it does the same thing. I feel like this is some strange directory permissions thing. But, I keep checking and re-checking yet everything looks fine.

Any and all suggestions appreciated. I've been at this practically all day.
-Tim

Comments

bsimon’s picture

It sounds like a mime type problem - for some reason your web browser and the server are not correctly communicating what type of file fckeditor.html is.

http://www.google.com/search?hl=en&newwindow=1&q=%22You+have+chosen+to+o...

Which web browser are you using? Try using a different one and see if the problem goes away,

wwalc’s picture

@bsimon is right, it's a server sonfiguration issue

Try creating .htaccess file in the fckeditor folder (if your web server supports it) and add it there:

AddType application/x-javascript .js
AddType text/css .css
AddType text/xml .xml
AddType text/html .html
TimG1’s picture

Thanks for those tips guys.

Oh, I was hoping that would work soooooo bad. No dice though. I tried the .htaccess file, didn't work. I tried putting it in all/modules/fckeditor and all/modules/fckeditor/fckeditor

I can use .htaccess files, I have one in my Drupal root.

I've tried this in other browsers and they do similar things. For example, Safari will just download the fckeditor.html file automatically without even prompting me.

You guys mention that it's probably a server configuration issue. What sort of configuration issue? What can I ask my host to try doing/changing?

Huge thanks!
-Tim

TimG1’s picture

Status: Active » Closed (fixed)

It works! I cleared browser cache and cookies and IT WORKS! *hysterical laughter*

Oye, thanks soooooo much guys.

The solution was to....

1.) Create .htaccess file in sites/all/modules/fckeditor

2.) Place these four lines in the .htaccess file.

AddType application/x-javascript .js
AddType text/css .css
AddType text/xml .xml
AddType text/html .html

3.) Save file

4.) Clear all browser cache & cookies.

5.) Jubilation!!!

THANKS!
-Tim