tiny_mce error

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 17, 2012   (RSS)

By shannonr - July 16, 2012

Hi, I hope someone can help...I'm not getting the wysiwyg in the admin.
I have seen other posts regarding the tiny_mce plugin but nothing there is helping. I'm getting firebug reports of "missing ; before stement" and its referencing the troublesome $buffer = "var tinyMCEPreInit={base: section of the tiny_mce_gzip.php file, firebug is also reporting that "tiny_mce is not defined". I have not had this problem before, have re-uploaded everything, tried hacks listed in similar posts, to no avail. The site is uniquely on a windows server - is this a possible cause?
Thanks
Shannon

Re: [shannonr] tiny_mce error

By Jason - July 16, 2012

Hi Shannon,

I've resolved this issue. What I found was in your installation there was this piece of javascript on a number of CMS Builder files:

<script type="text/javascript"> Cufon.now(); </script>

This was causing javascript errors, which was preventing the wysiwyg editor from appearing. I updated your files with clean 2.15 files and the issue went away.

Have you done anything with Cufon in the past, or have you ever seen this code before? This isn't part of CMS Builder so I'm a little concerned about how it got there.

Let me know if you need anything else.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] tiny_mce error

By shannonr - July 17, 2012

Hi Jason
A massive thank you for your time on fixing this. I have no idea how the cufon script appeared (I have used it recently on another site). I had a strange case of rogue google analytics code appearing on one of my sites last week, thinking I had inadvertently copied and pasted the code in Dreamweaver I thought no more about it. Now I realise there must be a bug in my copy of DW and I'm going to do a reinstall. Again, thank you for fixing this. Rest assured I will be back for plenty more CMSB!