Upgrading to v1.11 problem displaying site

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Tibs
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 31, 2012 11:23 am

Upgrading to v1.11 problem displaying site

Post by Tibs »

Hi I am working through the steps to bring my cms site upto date and after upgrading to v1.11 I cannot see my site as I keep getting the following error

ERROR: at line 656 in file /freeola/users/2/3/sr0957032/htdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "487db4c109b7272b8949bc554b1e0266cfcd89ef" on line 7 "<style type="text/css">a#vlb{display:none}</style>" - Unexpected ":", expected one of: "}" , " " , ATTR

Any solutions would be most appreciated
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Upgrading to v1.11 problem displaying site

Post by calguy1000 »

smarty uses { as a magic character.... to denote the start of a smarty tag
so change:

Code: Select all

<style type="text/css">#idname{display:none;}</style>
to:

Code: Select all

{literal}
<style type="text/css">#idname{display: none;}</style>
{/literal
or:

Code: Select all

<style type="text/css">#idname{ display: none; }</style>
note the spaces
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Tibs
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 31, 2012 11:23 am

Re: Upgrading to v1.11 problem displaying site

Post by Tibs »

Many thanks, I will try this code and will let you know how I get on cheers Tibs
Tibs
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 31, 2012 11:23 am

Re: Upgrading to v1.11 problem displaying site

Post by Tibs »

Hi Calguy100

I went onto this file and line 7 all there is a star *
and on line 656 is the text
throw new SmartyCompilerException($error_text);

In the admin area it shows I am running v1.11 but I cannot now view my site just the error

ERROR: at line 656 in file /freeola/users/2/3/sr0957032/htdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Syntax Error in template "487db4c109b7272b8949bc554b1e0266cfcd89ef" on line 7 "<style type="text/css">a#vlb{display:none}</style>" - Unexpected ":", expected one of: "}" , " " , ATTR

Any ideas would be most appreciated as I am still a novice cheers Tibs
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrading to v1.11 problem displaying site

Post by Jo Morg »

Tibs wrote:I went onto this file and line 7 all there is a star *and on line 656 is the text throw new SmartyCompilerException($error_text);
Calguy1000's suggestion was NOT to edit that file that was on cache, but the template that you have linked to the page (probably all/most pages). When you go to the admin console of CMSMS, in Content->Pages you can see which Templates are linked to each Pages, and click and edit the templates. THAT'S where the problematic piece of HTML/Smarty is, and where Calguy1000 suggested you should make a change. HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Tibs
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 31, 2012 11:23 am

Re: Upgrading to v1.11 problem displaying site

Post by Tibs »

Many thanks I will give that a go and let you know how how I got on cheers Tibs
Tibs
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 31, 2012 11:23 am

Re: Upgrading to v1.11 problem displaying site

Post by Tibs »

Hi

I tried the template which is Left simple navigation + 1 column on v1.11.4 and could not find this code as above, I then tried different templates as the default and even imported a brand new theme but still keep getting the error below, any ideas?

ERROR: at line 702 in file /freeola/users/2/3/sr0957032/htdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Syntax Error in template "487db4c109b7272b8949bc554b1e0266cfcd89ef" on line 7 "<style type="text/css">a#vlb{display:none}</style>" - Unexpected ":", expected one of: "}" , " " , ATTR
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Upgrading to v1.11 problem displaying site

Post by Dr.CSS »

Try removing the ; after display: none...
Locked

Return to “[locked] Installation, Setup and Upgrade”