Page 1 of 1

Text problem after upgrade to 2XX from 1xx

Posted: Sat Apr 09, 2016 12:28 pm
by burlington
The WYSIWYG option by page seems to have disappeared. I am trying to help someone who can now only see his page content in code and can't get WYSIWYG though Tiny & MicroTiny are both loaded.
This site was upgrade to 2xx from the last of the 1xx.

Any advice would be very helpful

Thanks

Martin

Re: Text problem after upgrade to 2XX from 1xx

Posted: Sat Apr 09, 2016 1:35 pm
by chrisbt
There's an error somewhere causing the MicroTiny or TinyMCE modules to not work probably. Check the browser javascript console, page source, admin log and php error log, probably in that order. Look for each error and deal with one at a time.

Re: Text problem after upgrade to 2XX from 1xx

Posted: Sat Apr 09, 2016 4:24 pm
by burlington
Thanks Chris

This is what appears when the page in question is loaded in to a browser. There are no error messages at the 'edit' stage.
So far as I am aware, this was a straight upgrade. Nothing untoward showed.

Perhaps I should just uninstall both the editors and re-install:

<quote>
Error: at line 316 in file /var/sites/p/***/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax error in template "content:content_en" on line 316 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
</quote>

Regards

Martin

Re: Text problem after upgrade to 2XX from 1xx

Posted: Sat Apr 09, 2016 5:19 pm
by PinkElephant
If it's user-specific I'd start by checking;
  1. My Preferences > My Account > Content Editor settings: Select WYSIWYG to use [! 'None']
  2. Content > Content Manager > [page] | Options : Disable WYSIWYG editor on this page (regardless of template or user settings)
    [I don't know what template magic's required to toggle wysiwyg]
... but it doesn't sound like any of these should generate the syntax error you quoted.

Re: Text problem after upgrade to 2XX from 1xx

Posted: Sat Apr 09, 2016 6:27 pm
by paulbaker
burlington wrote:Syntax error in template "content:content_en" on line 316 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
mso-style-name is the clue here. I'll bet someone has pasted in a load of text from Word. It contains { and } symbols and CMSMS is trying to interpret as Smarty. You need to strip out all the Word formatting.