Page 1 of 1

SOLVED Error: Syntax Error in template "content:cont ??

Posted: Sun Dec 29, 2013 11:33 am
by Andrew Prior
Error: Syntax Error in template "content:cont

This is in my Bartolome Admin log... can anyone tell me what it means? None of my templates start with cont. Andrew.

Re: Error: Syntax Error in template "content:cont ??

Posted: Sun Dec 29, 2013 1:10 pm
by Rolf
Probably a Smarty typo in content_en what means the regular page content block...

Re: Error: Syntax Error in template "content:cont ??

Posted: Mon Dec 30, 2013 7:23 am
by Andrew Prior
Thankyou Rolf.
After your hint, this is how I tracked it down.

I googled " "content_en" sitename.com "

It brought up the errors in full and let me find them in my site.

Andrew

Re: SOLVED Error: Syntax Error in template "content:cont

Posted: Tue Dec 31, 2013 9:31 pm
by Dr.CSS
What were the errors, if you don't mind my asking..?

Re: SOLVED Error: Syntax Error in template "content:cont

Posted: Wed Jan 01, 2014 1:58 am
by Andrew Prior
An open apostrophe

Code: Select all

{global_content name='fred}
which is very puzzling as the page should never have worked... so not sure how or when the apostrophe got dropped!

Re: SOLVED Error: Syntax Error in template "content:cont

Posted: Wed Jan 01, 2014 3:33 pm
by Dr.CSS
Most likely your host upgraded PHP as older version let that slide, not anymore...

Re: SOLVED Error: Syntax Error in template "content:cont

Posted: Thu Jan 02, 2014 9:14 am
by Rolf
Andrew Prior wrote:An open apostrophe

Code: Select all

{global_content name='fred}
which is very puzzling as the page should never have worked... so not sure how or when the apostrophe got dropped!
The older Smarty template engine accepted small typos like that! But Smarty 3 does not...