News:

Support the VirtueMart project and become a member

Main Menu

Orders not migrated from VM1 to VM2

Started by prashanth, November 04, 2014, 10:05:42 AM

Previous topic - Next topic

prashanth

I am trying to migrate from Virtuemart 1.1.8 to virtuemart 2. Using Migration tool I successfully migrated products, users etc. But couldn't migrate orders. getting this following error.

vmError: port Orders db error Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' SQL=SELECT `o`.*, `op`.*, `o`.`order_number` as `vm1_order_number`, `o2`.`order_number` as `nr2` FROM `jos_vm_orders` as `o` LEFT OUTER JOIN `jos_vm_order_payment` as `op` ON `op`.`order_id` = `o`.`order_id` LEFT JOIN `jos_virtuemart_orders` as `o2` ON `o2`.`order_number` = `o`.`order_number` WHERE (o2.order_number) IS NULL LIMIT 0,23000
vmError: port Orders db error SELECT `o`.*, `op`.*, `o`.`order_number` as `vm1_order_number`, `o2`.`order_number` as `nr2` FROM `jos_vm_orders` as `o` LEFT OUTER JOIN `jos_vm_order_payment` as `op` ON `op`.`order_id` = `o`.`order_id` LEFT JOIN `jos_virtuemart_orders` as `o2` ON `o2`.`order_number` = `o`.`order_number` WHERE (o2.order_number) IS NULL LIMIT 0,23000

By seeing error I changed collation of the database and every table to 'utf8_general_ci'. Still getting the same error.