midana Posted November 6, 2013 Share Posted November 6, 2013 Why do I get this error when I try to see the invoice and/or choose "payment accepted" for an order? Really need some help with this. :/ Fatal error: Uncaught exception 'SmartyException' with message 'Missing template name' in /storage/content/45/101045/censored.com/public_html/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /storage/content/45/101045/censored.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source') #1 /storage/content/45/101045/censored.com/public_html/classes/pdf/HTMLTemplate.php(63): Smarty_Internal_TemplateBase->fetch(false) #2 /storage/content/45/101045/censored.com/public_html/classes/pdf/PDF.php(73): HTMLTemplateCore->getHeader() #3 /storage/content/45/101045/censored.com/public_html/controllers/admin/AdminPdfController.php(186): PDFCore->render() #4 /storage/content/45/101045/censored.com/public_html/controllers/admin/AdminPdfController.php(170): AdminPdfControllerCore->generatePDF(Object(Collection), 'Invoice') #5 /storage/content/45/101045/censo in /storage/content/45/101045/censored.com/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 639 Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2013 Share Posted November 7, 2013 it looks like your invoice template file (.tpl) doesn't exist. can you check it please? (if this file exists) Link to comment Share on other sites More sharing options...
midana Posted November 7, 2013 Author Share Posted November 7, 2013 Thanks for your reply.PDF.php is in public_html/classes/pdf/PDF.php and invoice.tpl is in public_html/override/pdf Link to comment Share on other sites More sharing options...
midana Posted November 9, 2013 Author Share Posted November 9, 2013 Is this what you meant? Link to comment Share on other sites More sharing options...
midana Posted November 11, 2013 Author Share Posted November 11, 2013 Could anyone help out with this one please? Link to comment Share on other sites More sharing options...
JoelWebsites Posted February 17, 2015 Share Posted February 17, 2015 (edited) Has anyone got the solution? @vekia Can you please help me out with the exact filename or the .tpl location?...Thank you. Edited February 17, 2015 by JoelWebsites (see edit history) Link to comment Share on other sites More sharing options...
sachacohenfr Posted April 23, 2015 Share Posted April 23, 2015 I have the same problem with Prestashop 1.6.0.9 , someone have a solution ? Link to comment Share on other sites More sharing options...
JoelWebsites Posted April 23, 2015 Share Posted April 23, 2015 Your template may have got deleted Link to comment Share on other sites More sharing options...
sachacohenfr Posted April 24, 2015 Share Posted April 24, 2015 Yes but which one is called on order status update ? Link to comment Share on other sites More sharing options...
JoelWebsites Posted April 24, 2015 Share Posted April 24, 2015 Please copy paste the exact error message here..so i may tell you exactly.. Link to comment Share on other sites More sharing options...
goodshopping.tv Posted May 22, 2015 Share Posted May 22, 2015 Hallo everybody, sorry if I post here in reply but I've the same problem but only when the site is displayed on mobile devices following the error. Fatal error: Uncaught exception 'SmartyException' with message 'Missing template name' in /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source') #1 /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #2 /home/goodshopping/public_html/cache/smarty/compile/46/cb/e4/46cbe44c78572abe1fc8c968c9bb573f537e3138.file.category-tree-branch.tpl.php(55): Smarty_Internal_Template->getSubTemplate('', NULL, NULL, NULL, NULL, Array, 0) #3 /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_555e0083498a05_57930622(Object(Smarty_Internal_Template)) #4 /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, N in /home/goodshopping/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 639 As told it's only happening on mobile devices while on PC and tablets everything is nice. Someone can help me? Thank you. Link to comment Share on other sites More sharing options...
JavierUpn Posted April 27, 2017 Share Posted April 27, 2017 I had the same problem, everything happened when I modified the variable name inside a module that was already installed. The solution was to place the original name. I hope someone will help you with my answer. "Think beyond the limits" tiredepotmx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now