TinyMCE suddenly stopped loading [SOLVED - kinda]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
simplesimon
Forum Members
Forum Members
Posts: 17
Joined: Thu Jul 09, 2009 8:35 am

TinyMCE suddenly stopped loading [SOLVED - kinda]

Post by simplesimon »

I was editing adding large number of pages (20 or so) to my site. Then TinyMCE did not load. I though I ran out of memory and restarted Firefox. It sill didn't load. I thought maybe my hosting provider was upgrading my dedicated server. I have another site on the same server using CMSMS. So I checked that. TinyMCE loaded fine on that site.

I didn't change anything from when it loaded to when it didn't load. I was merely adding pages. Even so, I uninstalled and reinstalled TinyMCE - and lost all my settings of course. :D

I have TinyMCE enabled. I can see the checkbox "Turn WYSIWYG on/off". Is there anywhere else to look that I might have clicked by accident?

My only clue is this:
Inspecting the source with Firebug, I can see that the Javascript is being executed on the working site and not on the broken site. I'll paste some lines here incase someone has a clue for me. I can kind of make out that the Javascript must not be loading and therefore not outputting those dynamically inserted lines.

Any help is greatly appreciated. Thank you!

Working site:

Code: Select all

<head>
<meta content="CMS Made Simple - Copyright (C) 2004-9 Ted Kulp. All rights reserved." name="Generator"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="noindex, nofollow" name="robots"/>
<link href="themes/NCleanGrey/images/layout/ncleangrey-favicon.ico" rel="shortcut icon"/>
<link href="themes/NCleanGrey/images/layout/ncleangrey-favicon.ico" rel="Bookmark"/>
<title>TinyMCE WYSIWYG | **** </title>
<link href="style.php" type="text/css" rel="stylesheet">
</link>
<__script__ src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/modules/TinyMCE/tinyconfig.php?templateid=23&languageid=en" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/langs/en.js',0);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/langs/en.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js',1);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js',2);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js',3);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js',4);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js',5);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js',6);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js',7);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js" type="text/javascript">
</__script>
<__script__ onload="tinymce.dom.ScriptLoader._onLoad(this,'http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js',8);" src="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js" type="text/javascript">
</__script>
<__script__ src="themes/NCleanGrey/includes/standard.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/prototype.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/scriptaculous.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/builder.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/effects.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/dragdrop.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/controls.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/slider.js" type="text/javascript">
</__script>
<__script__ src="http://www.123.com/lib/scriptaculous/sound.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/cmsext.js" type="text/javascript">
</__script>
<base href="http://www.123.com/admin/"/>
<link rel="stylesheet" href="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css">
</link>
<link rel="stylesheet" href="http://www.123.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css">
</link>
</head>
Not Working:

Code: Select all

<head>
<meta content="CMS Made Simple - Copyright (C) 2004-9 Ted Kulp. All rights reserved." name="Generator"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="noindex, nofollow" name="robots"/>
<link href="themes/NCleanGrey/images/layout/ncleangrey-favicon.ico" rel="shortcut icon"/>
<link href="themes/NCleanGrey/images/layout/ncleangrey-favicon.ico" rel="Bookmark"/>
<title>TinyMCE WYSIWYG | **** </title>
<link href="style.php" type="text/css" rel="stylesheet">
</link>
<__script__ src="http://456.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/modules/TinyMCE/tinyconfig.php?templateid=23&languageid=en" type="text/javascript">
</__script>
<__script__ src="themes/NCleanGrey/includes/standard.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/prototype.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/scriptaculous.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/builder.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/effects.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/dragdrop.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/controls.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/slider.js" type="text/javascript">
</__script>
<__script__ src="http://456.com/lib/scriptaculous/sound.js" type="text/javascript">
</__script>
<__script__ src="../lib/scriptaculous/cmsext.js" type="text/javascript">
</__script>
<base href="http://456.com/admin/"/>
</head>


Last edited by simplesimon on Mon Aug 03, 2009 12:09 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE suddenly stopped loading

Post by Dr.CSS »

Sudden disappearance of tiny, hmmm could be a number of things...

1) permissions on tiny aren't set right, should be 755, module folder should be 755 also...

2) you need to hit the Reset All to Default in the advanced tab...

3) you may now need to set the static config for it...
NaN

Re: TinyMCE suddenly stopped loading

Post by NaN »

I had the same trouble after upgrading.
I tried everything i found here in the forum and what came into my mind.
(reinstalling, permissions, ...)

I completely reinstalled the whole cms.
And now it works.

???
simplesimon
Forum Members
Forum Members
Posts: 17
Joined: Thu Jul 09, 2009 8:35 am

Re: TinyMCE suddenly stopped loading

Post by simplesimon »

Dr. CSS wrote: Sudden disappearance of tiny, hmmm could be a number of things...

1) permissions on tiny aren't set right, should be 755, module folder should be 755 also...

2) you need to hit the Reset All to Default in the advanced tab...

3) you may now need to set the static config for it...
Thanks for the advice. There is no difference to the working site and non-working site as far as I can see. This is a fresh install of 1.6. The permissions are 755 for the user that apache runs as - same as the working site. Why would I need to use a static config all of a sudden? No it doesn't work either. I think I have a few ideas of what to try. I'll post back here in a bit.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: TinyMCE suddenly stopped loading

Post by calguy1000 »

This whole thread is not following the requirements for posting questions...

Please post some relevant information.

We aren't going to chase our tails supporting 2 year old versions of CMSMS for example.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
simplesimon
Forum Members
Forum Members
Posts: 17
Joined: Thu Jul 09, 2009 8:35 am

Re: TinyMCE suddenly stopped loading [SOLVED - kinda]

Post by simplesimon »

I saw the "Load the CMS-linker:" option. I know that the problem started from creation and editing of one page to the next. I turned that option off and... Tiny loads. So I about the pages "menu text" as that is what the CMS-linker seems to use. I thought maybe some were too long, as I am using Kanji page titles. I changed the menu text. Tiny loads with CMS-linker. I pasted the original text back into the field and saved the page. It still loads. So maybe there were some non-displayed characters that were causing CMS-linker to choke. The pasting of the text could have cleaned some of that up.

I hope this helps someone else with the same problem.

Peace out!
simplesimon
Forum Members
Forum Members
Posts: 17
Joined: Thu Jul 09, 2009 8:35 am

Re: TinyMCE suddenly stopped loading

Post by simplesimon »

calguy1000 wrote: This whole thread is not following the requirements for posting questions...

Please post some relevant information.

We aren't going to chase our tails supporting 2 year old versions of CMSMS for example.
I don't expect you to. No worries. I Just thought I'd do something novel and ask for help.

1.6. Oh I mean 1.6.3. I guess there is no 1.6.0 :o My bad. ;D
NaN

Re: TinyMCE suddenly stopped loading

Post by NaN »

calguy1000 wrote: This whole thread is not following the requirements for posting questions...

Please post some relevant information.

We aren't going to chase our tails supporting 2 year old versions of CMSMS for example.
I tried to upgrade from 1.5.4 to 1.6.3 but "failed" with the tinymce.
(everything else went fine - yes i first upgraded to 1.6 and then to 1.6.1 and ... but it did not check after each upgrade if the tiny is still where it should be so i cannot say where exactly the problem appeared)
At the end the tiny simply disapeared. I only saw a bulk textarea.
But only when editing pages. In the tiny settings it worked. Also in the global options and news, gcb.
I removed it, reinstalled it, checked permissions, settings, created new backend users, uploaded all files again (even the "full" package) etc.
No luck.
Since it was just a test (because i never did an upgrade before but always reinstalled the whole CMS and just wanted to see why users have trouble with upgrading) i did not worry about making a DB dump, reinstalling CMSms 1.6.3 with all needed modules and import only the content from the dump.
It only took 5 minutes where the upgrade process took me an half hour without any luck.
However for me my problem is solved.
If i have time i'll test it again but checking after each step if everything still is ok before coninueing with the next version.
If i can reproduce it i'll report it.
Post Reply

Return to “Modules/Add-Ons”