[SOLVED] Upgrade to 1.11.4, ContentPreCompile not called
Posted: Mon Jan 14, 2013 3:07 pm
In my upgrade to 1.11.4, the event ContentPreCompile is never called on the content of my pages.
A little bit of logging indicates me that the code path for 'content' in this file is never taken on my content because the value of $smarty->_current_file is a kind of hash.
This problem was previously reported here. And is marked as fixed. But it doesn't appear to be on my side. Any ideas of what may have gone wrong ?
To be more precise I logged $smarty->_current_file, $result and $tpl_output of the afromentioned function. It appears at a certain point there is a $smarty->_current_file with value 'content:page_data' but at that moment the variable $tpl_output is empty:
The actual page content is called later with a hash-like $smarty->_current_file which means that the ContentPreCompile event is not generated.
N.B. This is in a context where WYSIWYG is globally disabled I tried with both {content} and {content wysiwyg='false'} in the template.
Thanks in advance for any help.
A little bit of logging indicates me that the code path for 'content' in this file is never taken on my content because the value of $smarty->_current_file is a kind of hash.
This problem was previously reported here. And is marked as fixed. But it doesn't appear to be on my side. Any ideas of what may have gone wrong ?
To be more precise I logged $smarty->_current_file, $result and $tpl_output of the afromentioned function. It appears at a certain point there is a $smarty->_current_file with value 'content:page_data' but at that moment the variable $tpl_output is empty:
Code: Select all
[14-Jan-2013 15:50:01 Europe/Zurich] ------------------------------------------------------------
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $smarty->_current_file: content:pagedata
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $result:
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $tpl_output:
Code: Select all
[14-Jan-2013 15:50:01 Europe/Zurich] ------------------------------------------------------------
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $smarty->_current_file: 3a4988ec627d8eba5ff304975c8687ef94bfff35
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $result:
[14-Jan-2013 15:50:01 Europe/Zurich] Precompile $tpl_output:Livre polyvalent [...]
Thanks in advance for any help.