Page 1 of 1

Some Content not working after CMS upgrade

Posted: Tue Aug 16, 2016 4:50 am
by dbozikas
Hi I have upgraded my cms to version 2.1.4,

Since the upgrade some of the content has stopped working, These are the errors I am getting:
ERROR: at line 617 in file /var/www/vhosts/3/119327/webspace/httpdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

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

ERROR: at line 18 in file /var/www/vhosts/3/119327/webspace/httpdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax error in template "content:content_en" on line 18 "
For an overview of each Campus, please click here.

" unknown tag "rooturl"

ERROR: at line 16 in file /var/www/vhosts/3/119327/webspace/httpdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax error in template "content:content_en" on line 16 "Click here to learn more about Town Park Senior campus " unknown tag "rooturl"

This is one of the pages that don't work

http://www.humecentralsc.vic.edu.au/ind ... outus.html

I am running PHP 5.5.

I am new at all this but if you can point me in the right direction that would be great.

Thanks

Re: Some Content not working after CMS upgrade

Posted: Tue Aug 16, 2016 6:32 am
by Rolf
Check page or News article content of the failing pages
http://forum.cmsmadesimple.org/viewtopi ... =5&t=38130
Set WYSIWYG editor off to see the code

Re: Some Content not working after CMS upgrade

Posted: Tue Aug 16, 2016 9:06 am
by velden
Further note that the error message details aren't shown to regular visitors. Only when you're browsing this website with the same browser that's logged in in CMSMS admin panel you will say the error details.

Code: Select all

Syntax error in template "content:content_en" on line 617 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
Seems like someone has been copy pasting from e.g. MS Word. The curly brackets {} have special meaning for the Smarty template engine and thus shouldn't be used like this in page content.

Re: Some Content not working after CMS upgrade

Posted: Wed Aug 17, 2016 12:20 am
by dbozikas
Thanks for that yes I think that ms word is the problem however when I try to edit the content with CMS it just comes up with a blank page or error 500 when I modify content. This is for all content on the website.
Thanks for your help

Re: Some Content not working after CMS upgrade

Posted: Wed Aug 17, 2016 10:27 am
by velden
I think you should ask your hosting provider what's causing the errors. Or if you have access to the (error) logs check yourself.

Else we will be just guessing for possible reasons. For your next post: please paste CMSMS System Information.