VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: franzpeter on January 11, 2013, 19:25:00 PM

Title: Attention, could not find currency code in the table for id = 1
Post by: franzpeter on January 11, 2013, 19:25:00 PM
Using VM 2.1.18a I receive the following message while viewing orders as customer:
Attention, could not find currency code in the table for id = 1

Did take a look into shop configuration and into database. Everything seems to be set in correct way. I use only Euro as currency and did deactivate (not delete) all other currencies from the BE. It occurs only if a customer views an order showing the complete order information but with that message.
How to solve that problem?
Title: Re: Attention, could not find currency code in the table for id = 1
Post by: jjk on January 11, 2013, 21:51:49 PM
See here: http://forum.virtuemart.net/index.php?topic=96665.0
Title: Re: Attention, could not find currency code in the table for id = 1
Post by: franzpeter on January 12, 2013, 11:42:43 AM
Thanks jjk,

inserting the default currency for the shop with id=1 (so in case of Euro copy the currency info for currency_id=47) did solve the problem.
But because it is solving the problem, there must be a bug in the VM installation. Did try it with a testshop by installing a complete Joomla and VM. But there is no currency_id=1 in the new database with a brand new install.