News:

Support the VirtueMart project and become a member

Main Menu

vmError: Model User Fields, country with

Started by ocean1, January 13, 2014, 21:27:22 PM

Previous topic - Next topic

ocean1

Hi,

do's any one know how to solve the following error when opening the next page?

  error:  vmError: Model Userfields, country with id Nederland not found
  url: administrator/index.php?option=com_virtuemart&view=user&task=editshop

I can't find any solution.

Ocean

geof

#1
Joomla 2.5.18
Virtuemart 2.0.26d

I have the same problem.

geof

#2
I have a solution !!

ocean1
use PhpMyAdmin and run the query

- Replacing -
YOURCOUNTRY=Netherlands
jos = your table prefix

UPDATE jos_virtuemart_userfields SET `default`=(SELECT virtuemart_country_id FROM jos_virtuemart_countries WHERE country_name='YOURCOUNTRY') WHERE name='virtuemart_country_id';

OR

open jos_virtuemart_userfields
Edit field virtuemart_country_id
set for column "default" your virtuemart country id. For Netherlands is 150

Milbo

lol, how complex. It is a lot easier. go the country view, search for your country, take the ID noted there, enter the ID as default in the shopperfield country, done.

and the sql,.. is an idea, but "your country" must be in english, tricky. It would be nice, if someone just adds the country dropdown for the default field of countries.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/