[solved] error message after upgrade to 1.11.4 from 1.10.3

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
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

[solved] error message after upgrade to 1.11.4 from 1.10.3

Post by ODF »

The upgrade went good but after a refresh I get this error:
Error: at line 702 in file /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Full trace:

Code: Select all

#0 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(40, '%')
#2 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(40, '%')
#3 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('&nbsp;??<div st...')
#4 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#6 /www/htdocs/***/cmsms/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('globalcontent:f...', 'p15', NULL, NULL, false, false, false)
#7 /www/htdocs/***/cmsms/plugins/function.global_content.php(23): Smarty_CMS->fetch('globalcontent:f...')
#8 /www/htdocs/***/cmsms/tmp/templates_c/05f8bb99cae7f5f57f0441f1c827811819047666.tpl_body.15.php(100): smarty_function_global_content(Array, Object(Smarty_Internal_Template))
#9 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatebase.php(180): content_50d0cbc0e521b8_41993057(Object(Smarty_Internal_Template))
#10 /www/htdocs/***/cmsms/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('tpl_body:15', 'p15', NULL, NULL, false, false, false)
#11 /www/htdocs/***/cmsms/index.php(236): Smarty_CMS->fetch('tpl_body:15')
#12 {main}#0 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(40, '%')
#2 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(40, '%')
#3 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('&nbsp;??<div st...')
#4 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#6 /www/htdocs/***/cmsms/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('globalcontent:f...', 'p15', NULL, NULL, false, false, false)
#7 /www/htdocs/***/cmsms/plugins/function.global_content.php(23): Smarty_CMS->fetch('globalcontent:f...')
#8 /www/htdocs/***/cmsms/tmp/templates_c/05f8bb99cae7f5f57f0441f1c827811819047666.tpl_body.15.php(100): smarty_function_global_content(Array, Object(Smarty_Internal_Template))
#9 /www/htdocs/***/cmsms/lib/smarty/sysplugins/smarty_internal_templatebase.php(180): content_50d0cbc0e521b8_41993057(Object(Smarty_Internal_Template))
#10 /www/htdocs/***/cmsms/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('tpl_body:15', 'p15', NULL, NULL, false, false, false)
#11 /www/htdocs/***/cmsms/index.php(236): Smarty_CMS->fetch('tpl_body:15')
#12 {main}
Last edited by ODF on Wed Dec 19, 2012 12:09 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by calguy1000 »

One of your GCB's has an error.
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.
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by ODF »

But what is a GCB?!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by Jo Morg »

It's a Global Content Block.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by ODF »

This is the error message from my footer content block:
Syntax Error in template "globalcontent:footer" on line 2 "<div style="text-align: center;"><font face="Verdana"><font size="1"> <span style="font-weight: bold; color: rgb(57, 123, 148);">-= *** &copy;1985 - {current_date format=%Y} / KvK <a href="https://server.db.kvk.nl/TST-BIN/FU/TSWS001@?BUTT=***" target="_blank">***</a> / <a href="http://www.cmsmadesimple.org" target="_blank">CMSMS v{cms_version}</a> =-<br />" - Unexpected "%"
And this is the footer html code:

Code: Select all

&nbsp;
<div style="text-align: center;"><font face="Verdana"><font size="1"> <span style="font-weight: bold; color: rgb(57, 123, 148);">-= ***  &copy;1985 - {current_date format=%Y} / KvK <a href="https://server.db.kvk.nl/TST-BIN/FU/TSWS001@?BUTT=***" target="_blank">***</a> / <a href="http://www.cmsmadesimple.org" target="_blank">CMSMS v{cms_version}</a> =-<br />
<br />
</span>
</font>
<object width="600" height="25" align="middle" id="footer_runner">
<param name="movie" value="uploads/Flash/footer_runner.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<div style="text-align: center;"><object width="600" height="25" align="middle" id="footer_runner"> <embed width="725" height="25" align="middle" src="uploads/Flash/footer_runner.swf" quality="high" wmode="transparent" name="footer_runner" type="application/x-shockwave-flash" play="true" loop="true" menu="true"></embed>
</object></div>
&nbsp;
It worked fine in 1.10.x, so what is the difference in 1.11.x?!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by Jo Morg »

Help for the current_date tag wrote:Help for the current_date tag
Deprecated

use {$smarty.now|cms_date_format}
I believe that should be the issue...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
ODF
Forum Members
Forum Members
Posts: 38
Joined: Sun Aug 06, 2006 1:27 am

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by ODF »

It works again, thank you.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: An error message after upgrade to 1.11.4 from 1.10.3

Post by Jo Morg »

You are welcome.
Please mark as [solved].
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “CMSMS Core”