Page 1 of 1

Error: Syntax Error in template "f3f9b147a67e has occured

Posted: Mon Dec 16, 2013 6:49 am
by lumimies
Hi

My 1.11.9 system log keeps recording this kind of messages:

"Error: Syntax Error in template "f3f9b147a67e has occured" (template name changes randomly)

- Looks like these errors occur without any user action - thru backend anyway. The site seems to work without problems.

These messages appeared after upgrade to 1.11.9 - the upgrade itself went without problems.

Any idea what is going on?

Thank You

Here is technical information

----------------------------------------------

Cms Version: 1.11.9

Installed Modules:

CMSMailer: 5.2.2
FileManager: 1.4.3
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.14.1
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.37.3
CGFeedMaker: 1.0.17
FrontEndUsers: 1.22.1
ExtendedTools: 1.3.3
CMSSimplepie: 1.0
Captcha: 0.4.6
Showtime: 3.3
CMSPrinting: 1.0.5
MicroTiny: 1.2.5
AdvancedContent: 0.9.4.3
CGSimpleSmarty: 1.7
JQueryTools: 1.2.5
MleCMS: 1.11.4
CGContentUtils: 1.3.6
RSSSimplePie: 1.0
PDFGenerator: 0.1


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: fi_FI.UTF8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.4.4-14+deb7u5
md5_function: Päällä (Tosi)
gd_version: 2
tempnam_function: Päällä (Tosi)
magic_quotes_runtime: Pois päältä (Epätosi)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 120
output_buffering: 4096
safe_mode: Pois päältä (Epätosi)
file_uploads: Päällä (Tosi)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: Päällä (Tosi)
xml_function: Päällä (Tosi)
xmlreader_class: Päällä (Tosi)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.31
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


----------------------------------------------

Re: Error: Syntax Error in template "f3f9b147a67e has occure

Posted: Mon Dec 16, 2013 7:31 am
by Rolf
You have probably in one of your pages a syntax error in a smarty tag.
Typos like forgotten ' quotes or mixed up quotes ' "
So check your pages in the first place.

template "f3f9b147a67e is a cached file in the tmp/templates_c folder

Re: Error: Syntax Error in template "f3f9b147a67e has occure

Posted: Mon Dec 16, 2013 8:49 am
by lumimies
Hi

Yes - I´ll check my templates.

- Any idea why this error only show with cached files?

Thank You

Re: Error: Syntax Error in template "f3f9b147a67e has occure

Posted: Mon Dec 16, 2013 9:09 am
by Rolf
All rendered pages are stored in cached files.
When a page is shown at the frontend the error occurs.

Most of these errors were unnoticed at large websites, so I added the notice in the admin log. It not always direct point you to the correct spot, but at least you know something is wrong at the site...

Look for typos like {tag param="blah} or {tag param="blah'}.

Re: Error: Syntax Error in template "f3f9b147a67e has occure

Posted: Mon Dec 16, 2013 9:14 am
by lumimies
Hi Rolf

Ok. Thank You again. Checking this out now.