VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: steinarasb on January 19, 2012, 12:14:18 PM

Title: Changing language for site breaks shop
Post by: steinarasb on January 19, 2012, 12:14:18 PM
Hi all.

Got a little frustrating problem here.
I've installed the Norwegian lanugage on my site.
Problem is when I activate the Norwegian language for the site neither the frontend/shop or admin shows any products.
(Norwegian language in admin doesn't break anything).

Apache error.log reports:
PHP Warning:  Invalid argument supplied for foreach() in /path_to_joomla/components/com_virtuemart/views/categories/tmpl/default.php on line 41
Anyone ever seen this before?

I'm on Joomla 1.7.3 and VM 2.0.0
Title: Re: Changing language for site breaks shop
Post by: icinfo on January 19, 2012, 12:37:46 PM
Hi,

I saw this thread earlier today. Maybe this will help:
http://forum.virtuemart.net/index.php?topic=95931.msg315196#msg315196 (http://forum.virtuemart.net/index.php?topic=95931.msg315196#msg315196)

Amy
Title: Re: Changing language for site breaks shop
Post by: steinarasb on January 19, 2012, 14:12:25 PM
Thanks icinfo/Amy.

That worked like a charm.

Thanks also to another_reality for providing the step-by-step info.