I'm using umbraco 4.5.2. When I go to the content section of Umbraco and view a page which uses a tinymce, I get a javascript error saying: "tinyMCE is not defined". The error occures on the tinyMCE.init line, which is situated in editContent.aspx.
The viewstateMoverModule was causing this problem. When set to false all rich text editors work again.
<!-- This moves the asp.net viewstate data to the end of the html document instead of having it in the beginning--> <viewstateMoverModule enable="false" />
An important remark is to remove the files in ClientDependency after changing the flag in viewstateMoverModule (in Umbracosettings.config) to false. Then restart IIS and the richtexteditors will work again!
tinyMCE is not defined
Hi,
I'm using umbraco 4.5.2. When I go to the content section of Umbraco and view a page which uses a tinymce, I get a javascript error saying: "tinyMCE is not defined". The error occures on the tinyMCE.init line, which is situated in editContent.aspx.
Any ideas?
grts,
Kim
Comment author was deleted
Does this happen on all types of documents ? try creating a test one that only has a rte property, does it also happen then?
I tried this. The same problem occurs...
Comment author was deleted
Double check file permissions , if they are all ok, try replacing the /umbraco and /umbraco_client dir with a fresh 4.5.2
Ok, checked the file permissions. They seemed to be ok. Replaced /umbraco and /umbraco_client, but the tinymce still won't show.
Nope,
just replaced the /umbraco and /umbraco_client dir with a freshly downloaded 4.5.2 :(
Comment author was deleted
Be sure to delete the client dependency stuff, /app_data/temp/ClientDependency
Are you running the backend on a specific port (other then 80 ?) or in an other directory then /umbraco ?
I'm running the backend on port 80 and directory /umbraco. I also deleted the client depedency files in the temp folder of ClientDependency.
Still no luck...:(
Comment author was deleted
And when you inspect the page with firebug (or another tool) do you see any missing files (scripts) ?
None of the script files are missing. Using Firebug, I only get the error:
Comment author was deleted
Do you see a request to the
/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=eafebeb1-6daf-438a-80fe-afc2c67821b1&module=gzipmodule&themes=umbraco&plugins=contextmenu,umbracomacro,noneditable,inlinepopups,table,advlink,media,paste,spellchecker,umbracoimg,umbracocss&languages=en
file ? What does that return (does it look like the tinymce js)?
Comment author was deleted
Try requesting
http://[YOURSITE]/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=eafebeb1-6daf-438a-80fe-afc2c67821b1&module=gzipmodule&themes=umbraco&plugins=contextmenu,umbracomacro,noneditable,inlinepopups,table,advlink,media,paste,spellchecker,umbracoimg,umbracocss&languages=en
directly
Does that start with
When I request this, it returns an error:
"Fout 330 (net::ERR_CONTENT_DECODING_FAILED): Onbekende fout"
Comment author was deleted
Ok then that seems to be the cause, probable something you need to correct/setup on the server
there's no url rewiting in play that could cause problems?
Url rewriting is not used. When I switch to a different domain name on IIS, the following link:
http://[YOURSITE]/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=eafebeb1-6daf-438a-80fe-afc2c67821b1&module=gzipmodule&themes=umbraco&plugins=contextmenu,umbracomacro,noneditable,inlinepopups,table,advlink,media,paste,spellchecker,umbracoimg,umbracocss&languages=en
works, and returns:
, but the richtexteditors are still not visible.
Jihaaa, Kim found it.
The viewstateMoverModule was causing this problem.
When set to false all rich text editors work again.
<!-- This moves the asp.net viewstate data to the end of the html document instead of having it in the beginning-->
<viewstateMoverModule enable="false" />
An important remark is to remove the files in ClientDependency after changing the flag in viewstateMoverModule (in Umbracosettings.config) to false. Then restart IIS and the richtexteditors will work again!
I didn't even know that module existed.. Nice catch :-)
I guess its enabled by default ?
No it's not enabled by default :-)
is working on a reply...