• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: [Solved] TinyMCE WYSIWYG editor is missing!
PostPosted: Sun Apr 01, 2012 6:53 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
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/User_Handbook/Admin_Panel/Extensions/Modules/TinyMCE#Problem_with_the_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:
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.

Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Sun Apr 01, 2012 6:11 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11804
Location: Arizona
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...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Mon Apr 02, 2012 3:45 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
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.


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Mon Apr 02, 2012 5:59 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11804
Location: Arizona
You may have to change the permissions on the modules and tinyMCE folders to 755, this helps on many servers...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Mon Apr 02, 2012 7:08 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
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:
/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""


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Tue Apr 03, 2012 11:19 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
Now the frontpage shows this error message:
Code:
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.


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Tue Apr 03, 2012 12:17 pm 
Offline
Power Poster
Power Poster

Joined: Wed Mar 19, 2008 4:54 pm
Posts: 461
take a look in your template en replace {stylesheet} with {cms_stylesheet}. {stylesheet} is no longer used.


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Tue Apr 03, 2012 1:03 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
That helped the frontpage, it is now working perfectly. Now the problem is that inner pages get this error:

Code:
/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?


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Tue Apr 03, 2012 6:31 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11804
Location: Arizona
What does the {menu} tag in the page template look like?...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Wed Apr 04, 2012 3:49 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
Code:
[{menu start_level="2" template="section_expand"}


Top
 Profile  
 
 Post subject: Re: TinyMCE WYSIWYG editor is missing!
PostPosted: Wed Apr 04, 2012 4:05 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
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/User_Handbook/Admin_Panel/Layout/Menu_Manager#section_expand


Top
 Profile  
 
 Post subject: Re: [Solved] TinyMCE WYSIWYG editor is missing!
PostPosted: Wed Apr 04, 2012 5:22 am 
Offline
Power Poster
Power Poster

Joined: Wed Mar 19, 2008 4:54 pm
Posts: 461
I thought the section_expand doesn't work anymore form version 1.10.x and higher


Top
 Profile  
 
 Post subject: Re: [Solved] TinyMCE WYSIWYG editor is missing!
PostPosted: Wed Apr 04, 2012 5:05 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11804
Location: Arizona
That was taken out in the 1.10.* versions, use jquery...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: [Solved] TinyMCE WYSIWYG editor is missing!
PostPosted: Thu Apr 05, 2012 1:48 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 18, 2008 6:45 am
Posts: 28
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 =)


Top
 Profile  
 
 Post subject: Re: [Solved] TinyMCE WYSIWYG editor is missing!
PostPosted: Thu Apr 05, 2012 7:56 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11804
Location: Arizona
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...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting