Closed (outdated)
Project:
Commerce Migrate Ubercart
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2012 at 10:08 UTC
Updated:
8 Jan 2021 at 09:55 UTC
Jump to comment: Most recent
Comments
Comment #1
rfayThe database that you've configured to import from does not have a uc_orders table. Which (I think) means that it doesn't have ubercart configured.
Comment #2
jquery commentedThe error comes by accessing the migrate tab. No way to configure any settings.
Comment #3
rfaySorry, you need to configure commerce migrate ubercart first, at admin/content/migrate/ubercart_migration_options
Comment #4
jquery commentedShame on me. Thank you.
Comment #5
rfayNo, no shame on you. I shouldn't work that way. I don't know how to fix it, but this is a valid bug. Hopefully we'll fix it in some future round of work.
Comment #6
pyrello commentedI am getting a similar error:
Is this related to this section of code, starting on line 28 of customer_billing_profile.inc?:
That is the only reference to
uc_countriesI can find. The error above references the MigrateSourceSQL class (which is on line 50 of the above code snippet). It seems that things are getting messed up because the column names aren't the same between ubercart and commerce, but I don't see a clear way to correct this.Comment #7
rfayNo, it's just inadequate UI. You have to configure Commerce Migrate Ubercart before visiting the Migrate page.
Comment #8
pyrello commented@rfay - thanks for the quick reply. I am trying to adapt some of the code from the commerce_migrate_ubercart module in my own custom module. What setting on the Commerce Migrate Ubercart settings page needs to be set for this to work correctly? I understand that this is outside the scope of the module and the type of question that the issue queue is for, but if you knew, it would save me some time digging and I would greatly appreciate it.
Thanks!
Comment #9
rfay@pyrello, you need to fill in the location of the source database. Try it out.
Comment #10
pyrello commentedTo get this to work, I had to add an additional array of database connection info to my settings.php file and now I can connect.
Comment #11
rfayComment #12
dwkitchen commented