solved with the tip below:
forum.virtuemart.net/index.php?topic=102043.0
The ajax for auto populating the State after selecting a Country fails. I fixed it by updating /components/com_virtuemart/assets/js/vmsite.js and changing this line
Code: [Select]
$.getJSON('index.php?option=com_virtuemart&view=state&format=json&virtuemart_country_id=' + byAjax,
to this
Code: [Select]
if(window.vmSiteurl == undefined) window.vmSiteurl = '';
$.getJSON(window.vmSiteurl+'index.php?option=com_virtuemart&view=state&format=json&virtuemart_country_id=' + byAjax,