Jump to content

Recommended Posts

I have been busy for the last couple of days updating a client's website to the latest version of Prestashop (1.4.6.1) and when I take the shop out of catalog mode it displays a white screen which says

 

Welcome, Log in

  • Cart: 0 product products

I am not using any modified templates just the custom ones which come with Prestashop. Is this a known issue?

 

Thanks for your help in advance.

Link to comment
Share on other sites

I have enabled the script to show the errors and I get the following: -

 

Fatal error: Uncaught exception 'SmartyException' with message 'template property 'ps_currency' does not exist.' in /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/sysplugins/smarty_internal_template.php:954 Stack trace: #0 /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/classes/Product.php(2024): Smarty_Internal_Template->__get('ps_currency') #1 /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/compile/6d5be9cc8bd5d6f3f0ccc0fd822dbf065e0afa7f.file.blockuserinfo.tpl.php(62): ProductCore::convertPrice(Array, Object(Smarty_Internal_Template)) #2 /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/sysplugins/smarty_internal_template.php(433): include('/home/qchqsdju/...') #3 /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/sysplugins/smarty_internal_template.php(568): Smarty_Internal_Template->renderTemplate() #4 /home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/Smarty.class.php(337): Sm in/home/qchqsdju/public_html/sites/urbandecaylincoln.co.uk/shop/tools/smarty/sysplugins/smarty_internal_template.php on line 954

 

Thanks,

Link to comment
Share on other sites

appears the blockuserinfo module is having trouble with currency. In the Product class there is a function called convertPrice. That function expects that smarty has a variable ps_currency. For some reason your site does not have this variable.

You said you are using the latest version 1.4.6.1, however that is not the latest version, which is 1.4.6.2.

Perhaps there was a bug in that previous version, you might try using 1.4.6.2

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...