kcsikarwar Posted April 30, 2014 Share Posted April 30, 2014 When I change the order status as "Payment accepted" in admin than i got below error in my application. Uncaught exception 'SmartyException' with message 'Missing template name' in /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source') #1 /var/www/bookstore/classes/pdf/HTMLTemplate.php(63): Smarty_Internal_TemplateBase->fetch(false) #2 /var/www/bookstore/classes/pdf/PDF.php(73): HTMLTemplateCore->getHeader() #3 /var/www/bookstore/classes/order/OrderHistory.php(420): PDFCore->render(false) #4 /var/www/bookstore/controllers/admin/AdminOrdersController.php(356): OrderHistoryCore->addWithemail(true, Array) #5 /var/www/bookstore/classes/controller/Controller.php(158): AdminOrdersControllerCore->postProcess() #6 /var/www/bookstore/classes/Dispatcher.php(348): ControllerCore->run() #7 /var/www/bookstore/backend/index.php(53): DispatcherCore->dispatch() #8 {main} thrown in /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_template.php on line 639 Thanks, Kalicharan Link to comment Share on other sites More sharing options...
kcsikarwar Posted April 30, 2014 Author Share Posted April 30, 2014 When I change the order status as "Payment accepted" in admin than i got below error in my application. Uncaught exception 'SmartyException' with message 'Missing template name' in /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_template.php:639 Stack trace: #0 /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source') #1 /var/www/bookstore/classes/pdf/HTMLTemplate.php(63): Smarty_Internal_TemplateBase->fetch(false) #2 /var/www/bookstore/classes/pdf/PDF.php(73): HTMLTemplateCore->getHeader() #3 /var/www/bookstore/classes/order/OrderHistory.php(420): PDFCore->render(false) #4 /var/www/bookstore/controllers/admin/AdminOrdersController.php(356): OrderHistoryCore->addWithemail(true, Array) #5 /var/www/bookstore/classes/controller/Controller.php(158): AdminOrdersControllerCore->postProcess() #6 /var/www/bookstore/classes/Dispatcher.php(348): ControllerCore->run() #7 /var/www/bookstore/backend/index.php(53): DispatcherCore->dispatch() #8 {main} thrown in /var/www/bookstore/tools/smarty/sysplugins/smarty_internal_template.php on line 639 Thanks, Kalicharan Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2014 Share Posted April 30, 2014 what prestashop version you use? it's updated version? you've got this problem from the begining? or it just started to appear without any reason? Link to comment Share on other sites More sharing options...
kcsikarwar Posted April 30, 2014 Author Share Posted April 30, 2014 what prestashop version you use? it's updated version? you've got this problem from the begining? or it just started to appear without any reason? I am using prestashop version 1.5. Its not from starting its arise in between development. Link to comment Share on other sites More sharing options...
tuk66 Posted May 2, 2014 Share Posted May 2, 2014 There are 19 versions in the 1.5 line. During development ... You probably have changed code but we don't know how. Anyway, the most important is this message: 'Missing template name' in /classes/pdf/HTMLTemplate.php(63) Link to comment Share on other sites More sharing options...
kcsikarwar Posted May 2, 2014 Author Share Posted May 2, 2014 There are 19 versions in the 1.5 line. During development ... You probably have changed code but we don't know how. Anyway, the most important is this message: 'Missing template name' in /classes/pdf/HTMLTemplate.php(63) Yes I know that I have made some changes in the code but question is that how to solve it Link to comment Share on other sites More sharing options...
NemoPS Posted May 2, 2014 Share Posted May 2, 2014 Is there a chance you can share the bits of code you have changed? Link to comment Share on other sites More sharing options...
Recommended Posts