Page 1 of 1

Problem with TinyMCE

Posted: Fri Sep 19, 2008 4:02 pm
by ozzy
I have problem with TinyMCE editor in admin section. TinyMCE WYSIWYG is permanently off, checkbox for putting them on return this error:

"toggleEditor is not defined"

I am using Czech translate and czech admin interface with UTF8.

Any idea ?

Re: Problem with TinyMCE

Posted: Sat Sep 20, 2008 9:15 am
by ozzy
The problem is in bloody  :'( mode rewrite !

Request for tinyconfig.php is redirect to index.php?page=modules/TinyMCE/tinyconfig.php

Then CMS return 404 page not found, instead javascript code.

Re: Problem with TinyMCE

Posted: Sat Sep 20, 2008 9:50 am
by ozzy
Problem solved:

RewriteCond %{REQUEST_URI} !^modules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]


RewriteCond %{REQUEST_URI} !^modules - this line exclude from rewrite rule all in modules

And don't forget, that modules folder shall have 755 attribute.