Author Topic: error when adding taxes  (Read 1907 times)

johk

  • Jr. Member
  • **
  • Posts: 107
error when adding taxes
« on: August 04, 2008, 12:59:09 pm »
Hi,
I don't seem to be able to add any taxes. I get this error message - see blow.
Any suggestions on what could be wrong is much appreciated. I have tried both on localhost and on "real" host.
Thanks
jonas


Quote
500 - •An error has occurred• 
JDatabaseMySQL::query: 1054 - Unknown column 'country_id' in 'field list' SQL=SELECT `country_id`, `country_name`, `country_2_code`, `country_3_code` FROM `nut_vm_tax_rate` WHERE `country_3_code` = 'AUS'

Call stack
# Function Location
1 JAdministrator->dispatch() C:\wamp\www\nutmarket\administrator\index.php:67
2 JComponentHelper->renderComponent() C:\wamp\www\nutmarket\administrator\includes\application.php:130
3 require_once() C:\wamp\www\nutmarket\libraries\joomla\application\component\helper.php:162
4 require() C:\wamp\www\nutmarket\administrator\components\com_virtuemart\admin.virtuemart.php:30
5 ps_tax->add() C:\wamp\www\nutmarket\components\com_virtuemart\virtuemart_parser.php:246
6 ps_tax->validate_add() C:\wamp\www\nutmarket\administrator\components\com_virtuemart\classes\ps_tax.php:140
7 ps_country->get_country_by_code() C:\wamp\www\nutmarket\administrator\components\com_virtuemart\classes\ps_tax.php:53
8 ps_DB->query() C:\wamp\www\nutmarket\administrator\components\com_virtuemart\classes\ps_country.php:47
9 JDatabaseMySQL->loadObjectList() C:\wamp\www\nutmarket\administrator\components\com_virtuemart\classes\ps_database.php:120
10 JDatabaseMySQL->query() C:\wamp\www\nutmarket\libraries\joomla\database\database\mysql.php:452
11 JError->raiseError() C:\wamp\www\nutmarket\libraries\joomla\database\database\mysql.php:229
12 JError->raise() C:\wamp\www\nutmarket\libraries\joomla\error\error.php:173
13 JException->__construct() C:\wamp\www\nutmarket\libraries\joomla\error\error.php:138