SWebber Posted May 4, 2014 Share Posted May 4, 2014 (edited) Hi, can someone help me please i have been stuck for days trying to sort the problem out. My 1.6.0.6 site works perfectly the only problem i have is the following - In customers account, my account, order history - when a customer clicks on the order detail button to show contents of his orders placed nothing happens when clicking order detail. In chrome console i see it show the below error. GET http://www.deals-online.co.za/order-detail?id_order=136&ajax=true 500 (Internal Server Error) v_3_d942905c557b1c0da750980a6474bbd3.js:4 I put dev to true and i now i get the following detailed errors report. Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/dealsonl/public_html/themes/default-bootstrap/order-detail.tpl" on line 449 "<option value="0">{1 s='-- Choose --'}</option>" unexpected "s" attribute' in /home/dealsonl/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/dealsonl/public_html/tools/smarty/sysplugins/smarty_internal_compilebase.php(113): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unexpected "s" ...', 449) #1 /home/dealsonl/public_html/tools/smarty/sysplugins/smarty_internal_compile_private_print_expression.php(46): Smarty_Internal_CompileBase->getAttributes(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /home/dealsonl/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Private_Print_Expression->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, in /home/dealsonl/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.phpon line 667 Any help will be much appreciated. Thank you Edited May 4, 2014 by SWebber (see edit history) Link to comment Share on other sites More sharing options...
wakabayashi Posted July 22, 2014 Share Posted July 22, 2014 For me this "Detail" Button is also not working... Do you have found a solution? Link to comment Share on other sites More sharing options...
derekleroy1 Posted July 25, 2014 Share Posted July 25, 2014 I have the same problem, clicking the "Detials" button on the Order History page does nothing. This is what the button is trying to do but I have no idea as to what it means and how to debug the fact that it does not work. javascript:showOrder(1, 23, 'http://riverhouseflyco.com/index.php?controller=order-detail'); Link to comment Share on other sites More sharing options...
joseangel2003 Posted August 1, 2014 Share Posted August 1, 2014 (edited) i have same problem, use 1.6.0.8, the link show is javascript:showOrder(1, 123, 'http://www.xxx.com/index.php?controller=order-detail'); any help? Edited August 1, 2014 by joseangel2003 (see edit history) Link to comment Share on other sites More sharing options...
piribipipi Posted August 20, 2014 Share Posted August 20, 2014 Did you solve this problem??? I have the same problem!!! Thanks!! Link to comment Share on other sites More sharing options...
piribipipi Posted August 21, 2014 Share Posted August 21, 2014 I obtain this error: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/emcwebsites/public_html/absone/themes/toolshop/order-detail.tpl" on line 331 "<td>{if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_INC}{CoverPrice price=$line.shipping_cost_tax_incl currency=$currency->id}{else}{CoverPrice price=$line.shipping_cost_tax_excl currency=$currency->id}{/if}</td>" unknown tag "CoverPrice"' in /home/emcwebsites/public_html/absone/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/emcwebsites/public_html/absone/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "Co...', 331) #1 /home/emcwebsites/public_html/absone/tools/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('CoverPrice', Array) #2 /home/emcwebsites/public_html/absone/tools/smarty in /home/emcwebsites/public_html/absone/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 Link to comment Share on other sites More sharing options...
jcarvallo Posted September 29, 2014 Share Posted September 29, 2014 Not working here either! Any solutions? Link to comment Share on other sites More sharing options...
A-Z Hosting Posted October 2, 2014 Share Posted October 2, 2014 That was a bit of a tricky one. I think the order detail would be broken on the frontend as well as the backend. I'm wondering if this is an issue that showed up from upgrading either the entire store, or from upgrading the wishlist module. Anyways here is the fix I put in place for several of our 1.6 hosting customers today. Most of them hadn't even noticed, but proactive is good too. In phpMyAdmin run this command in your SQL tab. Change ps_ to whatever your table prefix is: ALTER TABLE `ps_wishlist` ADD `default` BOOLEAN NOT NULL; Seems for some reason there was no boolean default column which is a requirement of Wishlist.php in your modules. When the customer details was getting to the point to print the wishlists it was dying. Run the command, clear the caches and visit the page. You should be gold. Link to comment Share on other sites More sharing options...
engineerHopf Posted January 6, 2015 Share Posted January 6, 2015 someone found the solution? Link to comment Share on other sites More sharing options...
tony1dk Posted January 10, 2015 Share Posted January 10, 2015 I found this it help me I disabled ( Move JavaScript to the end ) and now I can see order details very strange , but everything is working now http://www.prestashop.com/forums/topic/231949-order-history-showorder-not-working-correctly/?hl=%2Bshoworder&do=findComment&comment=1824517 Link to comment Share on other sites More sharing options...
mikemoore13 Posted January 20, 2015 Share Posted January 20, 2015 same issue I disabled ( Move JavaScript to the end ) and now I can see order details very strange , but everything is working now thanks that helped me Link to comment Share on other sites More sharing options...
Recommended Posts