Page 1 of 1

[SOLVED] Error after upgrading to 1.11.9

Posted: Tue Oct 01, 2013 6:41 pm
by sonnydavis
So I cloned my web server in VMWare and upgraded the clone from CMS 1.10.3 to 1.11.9. When I hit it with a web browser in http mode, I get the "Oops! Something went wrong..." error. When I hit it using https, I get something a little more helpful:

Code: Select all

ERROR: at line 709 in file /opt/htdocs/site/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Syntax Error in template "content:content_en"  on line 1 "<p>{menu collapse='2' template='sectionmenu'' class="facmenu"}</p>"  - Unexpected "'", expected one of: "}" , " " , ATTR
I see the error. There's an extra apostrophe after template='sectionmenu'. But i have no idea where to go to correct it. There's no file called content or content_en. There are no templates by that name under Layout/Templates. I ran 'grep -R sectionmenu *' in the site's root directory and got no hits.

Is this somewhere in the database?

Re: Error after upgrading to 1.11.9

Posted: Tue Oct 01, 2013 6:44 pm
by Rolf
Check your syntax:
{menu collapse='2' template='sectionmenu'' class="facmenu"}

It looks like it is *in* a content page...

Re: Error after upgrading to 1.11.9

Posted: Tue Oct 01, 2013 6:50 pm
by Jo Morg
Yup, last versions of CMSMS, and Smarty 3 are not so forgiving with tags smarty errors. If I can read the error correctly it's on one of the pages, that you have a call to the menu tag... and yes they are kept on the database but are accessible through the Content Manager.
HTH

SOLVED: Error after upgrading to 1.11.9

Posted: Tue Oct 01, 2013 8:34 pm
by sonnydavis
Found it. Thanks!