Page 1 of 1

[solved] ERROR: at line 701 in file Issue with CGBlog Module

Posted: Mon Jan 21, 2013 8:57 pm
by RikBradley
Hi,

I have a website 4sythphotography.co.uk, and am running CMSMS 1.11.2.1.

The site has been working fine, and I have the CGBlog module installed. This was also working fine, until recently the page is returning an error message. I have made no amends to the site or template recently, the only recent site admin has been to add some entries to the Blog - but nothing to the structure of the site.

The page is here:
http://www.4sythphotography.co.uk/index.php?page=blog

The page only 'breaks' if I insert the {CGBlog} smarty tag, so I am fairly certain it is the module which is causing the issue.

This is the error:
ERROR: at line 701 in file /var/www/vhosts/4sythphotography.co.uk/httpdocs/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "56b7dcf762598e8fc8d97aa32824c5e893b7e12b" on line 45 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}" , " " , ATTR


I notice that if I go to CMSMS Forge website, this module has been updated on 2013-01-10, but if I use Module Manager within my website's admin console, I can't update the module.

Can anyone explain why the module is causing this error message?

Kind regards,

Rik

Re: ERROR: at line 701 in file - Issue with CGBlog Module

Posted: Mon Jan 21, 2013 9:02 pm
by Jos
mso-style-name
makes me think someone copy/pasted some text from MS Word. You could check the latest blog entries with WYSIWYG editor turned off, or check the html sourcecode of the page that goes wrong. Once you found it, you probably have some cleaning to do ;)

Re: ERROR: at line 701 in file - Issue with CGBlog Module

Posted: Tue Jan 22, 2013 6:28 pm
by RikBradley
Yes, that seems to be the issue. The recent entries all had some strange code embedded in the HTML.

Have removed it and now all seems well.

Many thanks for your reply!