[Solved]Strange {content block} syntax error

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
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

[Solved]Strange {content block} syntax error

Post by jasnick »

Using 1.11.10 and latest modules

3 col site: #left, #main and #right.

Template: {content} is in #main
#left has {content block="second_content_block" label ="Left"}
#right has {content block="third_content_block" label ="Right"}

This syntax has always worked for me until now:
Error: at line 302 in file /home/mydomain/public_html/avalon/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:
Message:
Syntax error in template "content:second_content_block" on line 302 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"

I changed the #left to {content block=second_block label="Left"} and it works again. I left #right as it was.

Have no idea what this error message means as there is no ":" in the template. Cleared the cache to no avail.

Can anyone shed any light as to why I get the error message with the {content block="second_content_block" label="Left"} syntax?

Thanks
Last edited by jasnick on Fri Apr 25, 2014 3:29 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Strange {content block} syntax error

Post by calguy1000 »

Code: Select all

Syntax error in template "content:second_content_block" on line 302 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
it's simple.... inside your second_content_block area on that page, at line 302 was an error, it started with: {mso-style-name:"Table Normal";

looks like a paste from word issue.
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.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Strange {content block} syntax error

Post by jasnick »

Thanks calguy1000

I thought the error was in the template - didn't think to look at the page. You're probably right - I cut and pasted some Lorem ipsum dolor sit amet, consectetuer adipiscing elit...just to check layout.

I'll remember that! Thanks for the heads up ;)
Post Reply

Return to “CMSMS Core”