--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smarty-developers?hl=en.
I currently use Smarty at work as Template Engine, and I tried to update
to the newest Smarty version from Smarty 3.0.8.
But the new Smarty Version 3.1.7 has some issues I wasn't able to fix.
1. We have use error_reporting(E_ALL) in development process as Coding
standard.
Earlier I reported some warnings due to that, which were fixed, but with
this release a new one appears:
Notice: Undefined index: unifunc in[cut]/smarty/sysplugin
/smarty_internal_template.php on line 434
Could you fix that?
Second issue is a bigger one:
If i have a template containing an include statement, the script crashes
at the point the {include} command appears.
I get different errors depending on whether the template has ben called
before or not, but on any include i get this error.
This is what i get
Fatal error: Uncaught exception 'SmartyException' with message 'property
'rendered_template' does not exist.' in
[cut]/smarty/sysplugins/smarty_internal_templatebase.php:798
Stack trace:
#[cut]/templates_c/723f0461108848e399ed6a6b2b83d390c640a224.file.[mytemplate].st.php(32):
Smarty_Internal_TemplateBase->__call('getRenderedTemp...', Array)
#1[cut]/templates_c/723f0461108848e399ed6a6b2b83d390c640a224.file.[mytemplate].st.php(32):
Smarty_Internal_Template->getRenderedTemplate()
#2 [cut]/smarty/sysplugins/smarty_internal_templatebase.php(161):
include('[cut]')
#3 [cut]/smarty/sysplugins/smarty_internal_templatebase.php(374):
Smarty_Internal_TemplateBase->fetch([mytemplate], NULL, NULL, NULL, true)
from here on I'm in my scope
#4 [cut]/classes/Site.class.php(284):
Smarty_Internal_TemplateBase->display([mytemplate])
#5 [cut]/myfile.php(56): Site->process()
#6 {main}
thrown in [cut]/smarty/sysplugins/smarty_internal_templatebase.php on
line 798
Anyone a idea what happens here or how to fix?
Regards, Martin
Regards, Martin