|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Liquido Smarty n00b
Joined: 23 Sep 2014 Posts: 2
|
Posted: Tue Sep 23, 2014 4:30 pm Post subject: Debug Smarty on PrestaShop |
|
|
Hi all,
i'm new on PrestaShop ecommerce system and i'm learning smarty.
i found this problem when i modify one page. Can you explain me the good way to find the problem? Thanks
Code: |
Fatal error</b>: Uncaught exception 'SmartyException' with message 'Missing template name' in <ps_local_dir>\tools\smarty\sysplugins\smarty_internal_template.php:639
Stack trace:
#0 <ps_local_dir>\tools\smarty\sysplugins\smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source')
#1 <ps_local_dir>\tools\smarty\sysplugins\smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true)
#2 <ps_local_dir>\cache\smarty\compile\0b\79\6b\0b796b9ef27207277f574770a029b97485917f06.file.product.tpl.php(117): Smarty_Internal_Template->getSubTemplate('', NULL, NULL, NULL, NULL, Array, 0)
#3 <ps_local_dir>\tools\smarty\sysplugins\smarty_internal_templatebase.php(180): content_541c40e3f01ff6_14852409(Object(Smarty_Internal_Template))
#4 <ps_local_dir>\classes\controller\FrontController.php(541): Smarty_Internal_TemplateBase->fetch('C:\\xampp\\htdocs...')
<ps_local_dir>\tools\smarty\sysplugins\smarty_internal_template.php</b> on line <b>639</b><br />
|
|
|
Back to top |
|
epnb Smarty Rookie
Joined: 24 Sep 2014 Posts: 8
|
|
Back to top |
|
Liquido Smarty n00b
Joined: 23 Sep 2014 Posts: 2
|
Posted: Fri Sep 26, 2014 7:45 am Post subject: |
|
|
- RESOLVED -
I found the error : i think the error is made when i create a wrong "smartyRegisterFunction" request (this method call "$smarty->registerPlugin" method).
In any case thanks to epnb for reply =)
Regards. |
|
Back to top |
|
ColleenPeterson521 Smarty n00b
Joined: 22 Jan 2015 Posts: 2
|
Posted: Mon Mar 09, 2015 10:04 am Post subject: |
|
|
Hey thanks for posting this query. I was about to post the same one! Yikes. Anyway, I tried your method and it works too |
|
Back to top |
|
AmandaPratt184 Smarty Rookie
Joined: 02 Jan 2015 Posts: 5
|
Posted: Wed May 06, 2015 8:30 am Post subject: |
|
|
Hey thanks for the query. Although, the link's solutions doesn't seem to be working for me. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|