I have a 4.7.2 Umbraco installation that I'm running locally with no problems, but at the server the tineMCE editor isn't working. In the admin interface is isn't rendering at all in any browser on any document type.
Apperently there is a javascript error in the tinyMCE js file, a missing bracket (}). I analysed the js-file and found out that there is two less } than {, so it might well be the problem. But why would it appear only on the site and only in the remote location? I can't just put two extra brackets in there either since the file is being build somehow serverside.
I have not touched the tinyMCE configuration at all.
The tinyMCE folder seems to be in the right place and I can't see any errors in permissions. However, your comment got me thinking that maybe I should deploy the umbraco instance on another clean site. When I did this the error does not appear. Hopefully I won't encounter it again.
Even though permissions seem to be right I think that there is something about files being copied (that has other permissions) than the ones they overwrite can take precedence...and thus can cause some issues...someone correct me if I'm wrong about this :)
Therefore I think it's always worth trying to reset permissions.
tinyMCE javascript file error
Hi,
I have a 4.7.2 Umbraco installation that I'm running locally with no problems, but at the server the tineMCE editor isn't working. In the admin interface is isn't rendering at all in any browser on any document type.
From Firebug I get the following two errors:
and
Apperently there is a javascript error in the tinyMCE js file, a missing bracket (}). I analysed the js-file and found out that there is two less } than {, so it might well be the problem. But why would it appear only on the site and only in the remote location? I can't just put two extra brackets in there either since the file is being build somehow serverside.
I have not touched the tinyMCE configuration at all.
I have tried the solution suggested here: http://our.umbraco.org/forum/getting-started/installing-umbraco/15382-tinyMCE-is-not-defined but it does not apply to my problem.
Suggestions anyone?
Thanks,
Daniel
Hi Daniel
How have you deployed the site to the server?
I think this could be casued by either
1: The directory containing the files for tinyMCE is missing on the server
2: Permissions have not been set properly
I've seen this before where for some weird reason the tinyMce directory has not been copied to the live environment.
So check if the "tinymce3" folder exists inside the "umbraco_client" folder.
Hope this helps.
/Jan
Hi Jan,
The tinyMCE folder seems to be in the right place and I can't see any errors in permissions. However, your comment got me thinking that maybe I should deploy the umbraco instance on another clean site. When I did this the error does not appear. Hopefully I won't encounter it again.
Thanks for your help Jan.
/Daniel
Hi Daniel
Glad to hear you got it working.
Even though permissions seem to be right I think that there is something about files being copied (that has other permissions) than the ones they overwrite can take precedence...and thus can cause some issues...someone correct me if I'm wrong about this :)
Therefore I think it's always worth trying to reset permissions.
/Jan
is working on a reply...