Upgrading from D6 to D7, following the upgrade steps gives me the following error:

Error: Call to undefined function backup_migrate_include() in
/Users/x/Sites/d7/sites/all/modules/backup_migrate/backup_migrate.install, line 189
Output from failed command :                                                                                                [error]
 
Fatal error: Call to undefined function backup_migrate_include() in
/Users/x/Sites/d7/sites/all/modules/backup_migrate/backup_migrate.install on line 189

I'm not 100% on this, but I dont think you can count on the .module file being loaded during the module installation.

Patch in first comment.

CommentFileSizeAuthor
#1 backup_migrate-n1102182.patch946 bytesjwilson3

Comments

jwilson3’s picture

Status: Active » Needs review
StatusFileSize
new946 bytes
jwilson3’s picture

I'm not 100% on this, but I dont think you can count on the .module file being loaded during the module installation.

Re-reading the OP, jeez, I sounded awfully sarcastic there. Sorry for that. I promise any perceived edginess to this issue was not intended :P

ronan’s picture

Status: Needs review » Fixed

One day I'll understand the black magic behind why the module code is sometimes available during update and sometimes it isn't. In the mean time, patch applied and commited. Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.