Text problem after upgrade to 2XX from 1xx

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Text problem after upgrade to 2XX from 1xx

Post 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
User avatar
chrisbt
Dev Team Member
Dev Team Member
Posts: 204
Joined: Sun Sep 05, 2010 6:11 am

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

Post 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.
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

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

Post 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
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

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

Post 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.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

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

Post 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.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “The Lounge”