Page 1 of 1

[SOLVED] TinyMCE has vanished

Posted: Fri Jun 01, 2012 7:40 am
by JimboDavies
I'm not sure what has changed to cause this (certainly nothing I've done) but TinyMCE no longer loads on the admin area of one of my CMS Made Simple site.

The module is obviously installed, but on any text area that it would normally load on, it just stays as a plain text area.

Things I have done:
- Checked permissions on the TinyMCE folder (all 755)
- Uninstalled, removed, and then re-installed TinyMCE from the Repository
- Checked, checked, and checked again that TinyMCE is enabled anywhere I can find the option to do so.

Any suggestions gratefully received!

Re: TinyMCE has vanished

Posted: Fri Jun 01, 2012 8:46 am
by SimonJ
I had the same problem with the frontend and it was due to the scripts not being loaded in the template headers.

Code: Select all

<!-- TinyMCE Configuration --><__script__ type="text/javascript" src="/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js"></__script><__script__ type="text/javascript" src="/index.php?mact=TinyMCE,cntnt01,tinyconfig,0&cntnt01templateid=23&cntnt01languageid=en&cntnt01frontend=yes&cntnt01returnid=56&showtemplate=false"></__script><!-- TinyMCE Configuration -->
Check what your return id is in the address bar and change the above to suit. I am guessing you have the same problem, have a look at the source of your admin page.

Re: TinyMCE has vanished

Posted: Fri Jun 01, 2012 8:49 am
by JimboDavies
Well, I discovered the problem - it was my fault!

We're using CloudFlare as a Content Delivery Network (CDN), and my website client had enabled CDN+Full Optimisation on the website, as it 'looked like a good option'.

The CloudFlare optimisation process evidently did something nasty to the CMSMS backend - I turned it off, and voila, TinyMCE is back.

I suspect CloudFlare may also be at fault for one of my scripts not working properly on the homepage - it seems to convert any JavaScript SRC into something called rocketscript.