Weird problem with FCKeditor and Mod_rewrite

Creating and modifying plugins.
Post Reply
korax_nyx
Regular
Posts: 5
Joined: Tue Jul 22, 2008 9:27 am

Weird problem with FCKeditor and Mod_rewrite

Post by korax_nyx »

Hi (forgive my english it's not my mother language):

This morning I was working with serendipity and FCKEditor. All was well, this evening when I tried to edit or add a new entry instead of the FCKEditor or the html code of the entry in both text areas appeared the main page of the site I'm working on, no trace of the text, buttons, etc. all the text area was occupied by the main page as if it was a frame containing the home of my blog.

I tried to reinstall FCKEditor, to switch to Xinha o TinyMCE (no luck even testing every path possible in the configuration for both) and right now I've remembered the one and only thing I've changed this evening before the error, I activated the mod_rewrite option in order to get better web addresses for the entries (it worked well).

After disconnecting the mod_rewrite FCKEditor works properly, I connected it again to double check and then again no FCKEditor in the text areas of the entry, only the main blog page...

Weird..., ¿some insight about this?

Thank you very much again for your time and patience...

K.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Weird problem with FCKeditor and Mod_rewrite

Post by garvinhicking »

Hi!

If this happens, it means that URLs could not be resolved properly, and your blog page is the default 404 error page. If you use Firebug for Firefox, you can see the "Net" tab and see which URLs get called and do not resolve properly.

You might need to put a file ".htaccess" inside your fckedit plugin directory with this:

Code: Select all

RewriteEngine Off
Usually, this file should already be within the plugin directory...check if it's there.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
korax_nyx
Regular
Posts: 5
Joined: Tue Jul 22, 2008 9:27 am

Post by korax_nyx »

My God Garvin!!! You're the best

I put a .htaccess in the plugin directory only with that instruction (there was none), and now it works...

What can I say. Thank you, thank you very much... really.

Best Regards.

K.
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post by kleinerChemiker »

Hi Garvin

Das selbe Problem existiert auch beim TinyMCE-Editor. Vielleicht kann man ja das .htaccess file ins Plugin aufnehmen. wobei ich nicht weiß, wie der Indianer reagiert, wenn man nicht mit ModRewrite unterwegs ist.
Post Reply