Magento Forum

‘Exception’ with message ‘Undefined rate from “GBP-USD”’ error
 
Mark Fresh
Jr. Member
 
Total Posts:  6
Joined:  2007-11-08
 

Hi

I did an install which went correctly but the item’s descriptions would say:

var spConfig = new Product.Config(
exception ‘Exception’ with message ‘Undefined rate from “GBP-USD”’ in /home/sites/deeplove.co.uk/public_html/magento/app/code/core/Mage/Directory/Model/Currency.php:92
Stack trace:
#0 /home/sites/deeplove.co.uk/public_html/magento/app/code/core/Mage/Core/Model/Store.php(362): Mage_Directory_Model_Currency->convert(NULL, Object(Mage_Directory_Model_Currency))
#1 /home/sites/deeplove.co.uk/public_html/magento/app/code/core/Mage/Catalog/Block/Product/View/Super/Config.php(104): Mage_Core_Model_Store->convertPrice(NULL)
#2 etc etc

and the products listing would say:  Undefined rate from “GBP-USD”

It was because the Base currency was set to GBP and the Display default currency was set to USD

This is set in System -Configuration - Currency Setup

Perhaps they should be set to be the same by default (unless I missed something during the installation)

other than that it’s looking good (just need to work out how to change the templates)

cheers

Mark

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top