k8600 Posted February 24, 2014 Share Posted February 24, 2014 (edited) hi.. when i choose to pay with bankwire i got a blankpage with the error - Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/Library/WebServer/Documents/prestashop/prestashop/modules/bankwire/views/templates/front/payment_execution.tpl" on line 31 "{assign var='current_step'value='payment'}" - Unexpected "value", expected one of: "}" , " " , ATTR' in /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(19, 'value') #2 /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->do in /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 after research the internet and try all directions given, im still having the same error, and now on the under the shopping cart sumary i get this - Notice: Undefined index: germanext_tpl in /Library/WebServer/Documents/prestashop/prestashop/cache/smarty/compile/e9/d1/ae/e9d1aed3320ede01a01bd787104e8bafac992c9d.file.shopping-cart.tpl.php on line 124 Notice: Trying to get property of non-object in /Library/WebServer/Documents/prestashop/prestashop/cache/smarty/compile/e9/d1/ae/e9d1aed3320ede01a01bd787104e8bafac992c9d.file.shopping-cart.tpl.php on line 124 Your shopping cart contains: 1 Product Notice: Undefined index: germanext_tpl in /Library/WebServer/Documents/prestashop/prestashop/cache/smarty/compile/e9/d1/ae/e9d1aed3320ede01a01bd787104e8bafac992c9d.file.shopping-cart.tpl.php on line 414 Notice: Trying to get property of non-object in /Library/WebServer/Documents/prestashop/prestashop/cache/smarty/compile/e9/d1/ae/e9d1aed3320ede01a01bd787104e8bafac992c9d.file.shopping-cart.tpl.php on line 414 already checked permissions, all seems normal.... please help... thanks Edited February 24, 2014 by k8600 (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted February 25, 2014 Share Posted February 25, 2014 As far as I can see you just made a typing error in your template. In the text " var='current_step'value='payment'}"" you have no space before "value". Link to comment Share on other sites More sharing options...
k8600 Posted February 25, 2014 Author Share Posted February 25, 2014 hi... thanks, but its not it... Link to comment Share on other sites More sharing options...
musicmaster Posted February 25, 2014 Share Posted February 25, 2014 According to the error messages you posted it is definitely a problem. So I would suggest that you repair that and than provide the new error messages. Link to comment Share on other sites More sharing options...
k8600 Posted February 26, 2014 Author Share Posted February 26, 2014 ok.. yes i did that repair and now i got this error: Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file './order-steps.tpl' in '/Library/WebServer/Documents/prestashop/prestashop/modules/bankwire3/views/templates/front/payment_execution.tpl'' in /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /Library/WebServer/Documents/prestashop/prestashop/cache/smarty/compile/88/dd/e6/88dde6d4b696e57e155ca47b9ab1ce5e73c1c6f3.file.payment_execution.tpl.php(49): Smarty_Internal_Template->getSubTemplate('./order-steps.t...', NULL, NULL, NULL, NULL, Array, 0) #2 /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_530df120b2d857_95596672(Object(Smarty_Internal_Template)) #3 /Library/WebServer/Documents/prestashop/ in /Library/WebServer/Documents/prestashop/prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127 thankyou so much for the help... Link to comment Share on other sites More sharing options...
musicmaster Posted February 26, 2014 Share Posted February 26, 2014 I suppose that your bankwire3 module is the same as the normal bankwire. In the bankwire module you have indeed a "payment_execution.tpl" template file. It contains a reference to your normal template files in themes\mytheme. That reference is coded as "{include file="$tpl_dir./order-steps.tpl"}". The strange thing in your code is that the variable $tpl_dir seems to be empty. I don't know what you have changed in your code but there is the problem. Link to comment Share on other sites More sharing options...
Recommended Posts