Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I wrote a custom migration module, and I have enabled it in the Drupal 7 administration pages. I have searched through the web, but nothing shed any light on my issue. I came across this post, but it was not helpful.

I have under sites/all/modules/my_module the following 4 files:

I apologize, but I really don't know how I could be more specific with my question. Does anyone know what could be wrong?

share|improve this question
    
For the purpose of importing users, I found it much easier to use the Feeds module. –  chlong Mar 22 '12 at 14:39

1 Answer 1

Is your module enabled? (Seriously, my Drush Make file forgot to enable the module, and I was clueless, yesterday.)

If you use drush migrate-status from the command line, is your Migration listed?

share|improve this answer
    
tenken always to my rescue! when i type "drush migrate-status" in my var/www/drupal7 directory, it says the "drush command could not be found" ..this is frustrating. I have enabled migrate, migrate UI, migrate examples even...and if you are talking about the drush module, i could not even find it in my modules listing. –  chlong Mar 16 '12 at 20:12
    
also to add, when i type "drush help" all the commands are listed, i see "drush migrate-status" and all the other migrate related drush commands. but when i type them, i get a command not found error. –  chlong Mar 16 '12 at 20:23
2  
I mentioned Drush because "migration" builds drush task for each Migration class you define. The UI is merely reading whatever drush sees and makes a UI to interact with it. I'm not sure how else to help you. You're positive your module is enabled? :) –  tenken Mar 17 '12 at 2:52
    
tenken, i have gotten drush to recognize the sample beer and wine migrations (drush ms will reveal them). however, when i enable my own migration module, i get the following error: "PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate" would you be able to offer any insights? –  chlong Mar 19 '12 at 19:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.