VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: arquilca on June 09, 2016, 17:47:50 PM

Title: Error when switching language in admin
Post by: arquilca on June 09, 2016, 17:47:50 PM
Hi, I am getting an error when switching languages on the backend. When I try to edit a product or product category, I can see the language dropdown on the top left to switch the language. I try to switch it from English to Portuguese but nothing happens. I do see that I get this error in the Javascript console:

Failed to load resource: the server responded with a status of 500 (Table '****.#__virtuemart_categories_pt_br' doesn't exist SQL=SELECT `#__virtuemart_categories`.* ,`#__virtuemart_categories_pt_br`.*  FROM `#__virtuemart_categories` INNER JOIN `#__virtuemart_categories_pt_br` using (`virtuemart_category_id`) WHERE `#__virtuemart_categories`.`virtuemart_category_id` = "1")

I was using the steps in this tutorial: http://www.templatemonster.com/help/virtuemart-2-x-configuration-multilanguage-site.html#gref (http://www.templatemonster.com/help/virtuemart-2-x-configuration-multilanguage-site.html#gref)
I am using Joomla 3.5.1 and this tutorial is for Joomla 2.5.x, so I suppose this could be part of the problem. Maybe this tutorial is outdated? I run into the problem at step 10.

Joomla Version: 3.5.1
VM Version: 3.0.16
PHP Version:    5.4.43
Title: Re: Error when switching language in admin
Post by: lucyda on September 14, 2016, 13:49:14 PM
hey, before publishing multi-language status have you switched from 'site' to 'administrator' in the filter dropdown list (in 'Extensions' - 'Module Manager')??actually, you can make sure your joomla multilanguage setup is correct by checking out this tutorial (https://help.joomla.org/files/EN-GB_multilang_tutorial.pdf)..and after check this virtuemart page about multi-language setup (https://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html)
I hope this helps
Best,
Lucy from essay today (http://www.writemyessayfast.org/)  ;) ;) ;)
Title: Re: Error when switching language in admin
Post by: GJC Web Design on September 14, 2016, 15:14:50 PM
Quote.#__virtuemart_categories_pt_br' doesn't exist

the table is missing

try using the 'Install or if necessary update tables' button in the VM Tools section