VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Cygnus6 on February 21, 2014, 01:18:05 AM

Title: All kinds of issues trying to Migrate Data
Post by: Cygnus6 on February 21, 2014, 01:18:05 AM
For example, why does the migration tool look for a directory with _vm_ in it when it is clear that new tables in VM2 are _virtuemart_?

vmError: port Orders db error Table 'DB_NAME.zwurh_vm_orders' doesn't exist

Well no kidding! The install didn't create a DB table with that name.

Help! I want to keep using this software but come on... this should be a LOT easier to use.
Title: Re: All kinds of issues trying to Migrate Data
Post by: Cygnus6 on February 21, 2014, 01:33:47 AM
Thinking about this, zwurh is not the prefix for the original tables. Shouldn't I be porting from the original tables that have a different prefix?
Title: Re: All kinds of issues trying to Migrate Data
Post by: AH on February 21, 2014, 13:22:32 PM
QuoteProcedure:-

1.      Install virtuemart and VM AIO on the new site
2. Move your media into images/stories/virtuemart and make sure they're in the right subfolders. (category, manufacturer, product, vendor)
3. Move all the old  VM database tables to your new Joomla database  (copy/rename them to the databse folder) ensure they are named newprefix_vm_tablename
4. Enable The "Enable database Update tools" in Virtuemart Configuration
5. Go to Tools/Tools & Migration "Migration" Tab
6. Choose "Everything" and click "Start Migration"

Also see this post

http://forum.virtuemart.net/index.php?topic=117216.msg396309#msg396309 (http://forum.virtuemart.net/index.php?topic=117216.msg396309#msg396309)