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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Andrew Prior
Forum Members
Forum Members
Posts: 247
Joined: Sun Oct 28, 2007 4:14 am

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

Post 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.
Last edited by Andrew Prior on Mon Dec 30, 2013 7:24 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post by Rolf »

Probably a Smarty typo in content_en what means the regular page content block...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Andrew Prior
Forum Members
Forum Members
Posts: 247
Joined: Sun Oct 28, 2007 4:14 am

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

What were the errors, if you don't mind my asking..?
Andrew Prior
Forum Members
Forum Members
Posts: 247
Joined: Sun Oct 28, 2007 4:14 am

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

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Most likely your host upgraded PHP as older version let that slide, not anymore...
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”