[Solved] TinyMCE WYSIWYG editor is missing!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

[Solved] TinyMCE WYSIWYG editor is missing!

Post by elfduck »

Hi

I just upgaded 2 of my CMSMS-sites (to version 1.10.3) and both sites have the same problem, TinyMCE WYSIWYG editor is missing!

I have re-installed TinyMCE, resetted all TinyMCE settings and also I have done everything the handbooks says about the problem (except for the downgrading; I dont know where to get TinyMCE version 2.4.12.

http://wiki.cmsmadesimple.org/index.php ... he_Toolbar

The other site shows the option "Turn WYSIWYG on/off", but it doesn't do anything. The other site doesn't even have the checkbox.

Also this setting doesn't do anything:
Disable WYSIWYG editor on this page (regardless of template or user settings.

I have re-installed CMSMS to those particular sites twice with no effect. I also removed everything from the servers and tried a "clean install". This wen't fine with the other site, but as you can clearly see, the other site is now broken and gives the error on various pages:

Code: Select all

string(133) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 17]: [plugin] unknown tag - 'while' (core.load_plugins.php, line 198)" string(145) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 17]: syntax error: unrecognized tag 'while' (Smarty_Compiler.class.php, line 590)" string(134) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 21]: [plugin] unknown tag - '/while' (core.load_plugins.php, line 198)" string(146) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 21]: syntax error: unrecognized tag '/while' (Smarty_Compiler.class.php, line 590)" string(133) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 58]: [plugin] unknown tag - 'while' (core.load_plugins.php, line 198)" string(145) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 58]: syntax error: unrecognized tag 'while' (Smarty_Compiler.class.php, line 590)" string(134) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 62]: [plugin] unknown tag - '/while' (core.load_plugins.php, line 198)" string(146) "Smarty error: [in module_db_tpl:MenuManager;section_expand line 62]: syntax error: unrecognized tag '/while' (Smarty_Compiler.class.php, line 590)"
Any help will be greatly appreciated.
Last edited by elfduck on Wed Apr 04, 2012 4:06 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE WYSIWYG editor is missing!

Post by Dr.CSS »

Since 1.10.* uses Micro Tiny for the default editor you may want to have tiny installed then go to user/my preferences and make sure tiny is the chosen editor...
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

Worked like a charm for the site that shows the option "Turn WYSIWYG on/off" on each page =)

Didn't work for the site that doesn't have that option. At all.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE WYSIWYG editor is missing!

Post by Dr.CSS »

You may have to change the permissions on the modules and tinyMCE folders to 755, this helps on many servers...
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

I did that already with no effect.

Then I upgraded _again_ the CMSMS and now MicroTiny is working, but I still receive errors in the public pages:

Code: Select all

/home/*********/domains/**********.com/public_html/lib/smarty/Smarty.class.php:1593 - trigger_error
/home/*********/domains/**********.com/public_html/lib/smarty/Smarty.class.php:1415 - _fetch_resource_info
/home/*********/domains/**********.com/public_html/lib/smarty/Smarty.class.php:1261 - _compile_resource
/home/*********/domains/**********.com/public_html/lib/classes/module_support/modtemplates.inc.php:242 - fetch
/home/*********/domains/**********.com/public_html/lib/classes/class.CMSModule.php:2438 - cms_module_ProcessTemplateFromDatabase
/home/*********/domains/**********.com/public_html/modules/MenuManager/action.default.php:253 - ProcessTemplateFromDatabase
/home/*********/domains/**********.com/public_html/lib/classes/class.CMSModule.php:1583 - include
/home/*********/domains/**********.com/public_html/lib/classes/class.CMSModule.php:1628 - DoAction
/home/*********/domains/**********.com/public_html/lib/module.functions.php:122 - DoActionBase
/home/*********/domains/**********.com/public_html/plugins/function.menu.php:22 - cms_module_plugin
/home/*********/domains/**********.com/public_html/tmp/templates_c/%%76^763^76313DB0%%tpl_body%3A22.php:21 - smarty_cms_function_menu
/home/*********/domains/**********.com/public_html/lib/smarty/Smarty.class.php:1263 - include
/home/*********/domains/**********.com/public_html/index.php:269 - fetch
string(81) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;section_expand"" 
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

Now the frontpage shows this error message:

Code: Select all

string(108) "Smarty error: [in tpl_head:20 line 4]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 198)" string(120) "Smarty error: [in tpl_head:20 line 4]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)" 
Somekind of stylesheet problem, perhaps? And if I reload the page, the error message disappears.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: TinyMCE WYSIWYG editor is missing!

Post by staartmees »

take a look in your template en replace {stylesheet} with {cms_stylesheet}. {stylesheet} is no longer used.
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

That helped the frontpage, it is now working perfectly. Now the problem is that inner pages get this error:

Code: Select all

/home/*/domains/*.com/public_html/lib/smarty/Smarty.class.php:1593 - trigger_error
/home/*/domains/*.com/public_html/lib/smarty/Smarty.class.php:1415 - _fetch_resource_info
/home/*/domains/*.com/public_html/lib/smarty/Smarty.class.php:1261 - _compile_resource
/home/*/domains/*.com/public_html/lib/classes/module_support/modtemplates.inc.php:242 - fetch
/home/*/domains/*.com/public_html/lib/classes/class.CMSModule.php:2438 - cms_module_ProcessTemplateFromDatabase
/home/*/domains/*.com/public_html/modules/MenuManager/action.default.php:253 - ProcessTemplateFromDatabase
/home/*/domains/*.com/public_html/lib/classes/class.CMSModule.php:1583 - include
/home/*/domains/*.com/public_html/lib/classes/class.CMSModule.php:1628 - DoAction
/home/*/domains/*.com/public_html/lib/module.functions.php:122 - DoActionBase
/home/*/domains/*.com/public_html/plugins/function.menu.php:22 - cms_module_plugin
/home/*/domains/*.com/public_html/tmp/templates_c/%%76^763^76313DB0%%tpl_body%3A22.php:21 - smarty_cms_function_menu
/home/*/domains/*.com/public_html/lib/smarty/Smarty.class.php:1263 - include
/home/*/domains/*.com/public_html/index.php:269 - fetch
string(81) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;section_expand""
Seems to me that something broke the menu now?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE WYSIWYG editor is missing!

Post by Dr.CSS »

What does the {menu} tag in the page template look like?...
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

Code: Select all

[{menu start_level="2" template="section_expand"}
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: TinyMCE WYSIWYG editor is missing!

Post by elfduck »

When you pointed out that menu thingy, I went and checked menu templates and such...

The problem was that somehow this didn't work after installation any more:
http://wiki.cmsmadesimple.org/index.php ... ion_expand
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: [Solved] TinyMCE WYSIWYG editor is missing!

Post by staartmees »

I thought the section_expand doesn't work anymore form version 1.10.x and higher
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [Solved] TinyMCE WYSIWYG editor is missing!

Post by Dr.CSS »

That was taken out in the 1.10.* versions, use jquery...
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: [Solved] TinyMCE WYSIWYG editor is missing!

Post by elfduck »

Use jQuery? Is there a similar jQuery menu template like section_expand in CMSMS or what jQuery menu should I use? Please point me to the right direction =)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [Solved] TinyMCE WYSIWYG editor is missing!

Post by Dr.CSS »

You will have to make a custom menu template, look at this page for the menu in the Content, look at the page source for the menu changes and the link for the JS that runs the menu look at the menu1.js...
Post Reply

Return to “Modules/Add-Ons”