migrate 6.x-2.0-beta2

migrate and Migrate UI enabled.

on admin/content/migrate i get the following error:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mimo-project.autoload_registry' doesn't exist' in /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/dbtng/database/database.inc:1964 Stack trace: #0 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/dbtng/database/database.inc(1964): PDOStatement->execute(Array) #1 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/dbtng/database/database.inc(562): DatabaseStatementBase->execute(Array, Array) #2 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/dbtng/database/select.inc(1153): DatabaseConnection->query('SELECT r.name A...', Array, Array) #3 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/migrate/migrate.module(139): SelectQuery->execute() #4 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/migrate/migrate.module(32): _migrate_class_list('%Migration', 'MigrationBase', false) #5 /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/migrate/migrat in /var/www/vhosts/mimo-project.eu/httpdocs/sites/all/modules/dbtng/database/database.inc on line 1964

.

I assume this is due to incompatible versions of autoload and dbtng, but I don't find info on this anywhere, so I will try some and report here.

Comments

mikeryan’s picture

Version: 7.x-2.0-beta2 » 6.x-2.0-beta2
Status: Active » Fixed

You need autoload V2 - I've updated the project page to be more specific.

mokko’s picture

Version: 6.x-2.0-beta2 » 7.x-2.0-beta2
Status: Fixed » Closed (fixed)

I had dbtng 6.x-1.0-alpha7 before, now update to dev from November. It does FIX the problem. (I did the ubdatedb although not required and ran cron.)

mokko’s picture

Thanks for the quick answer! I had autoload 6.x-2.x-dev all the time.

wranvaud’s picture

Version: 7.x-2.0-beta2 » 6.x-2.0-beta3

I have this same issue with 6.x-2.0-beta3 and all the latest DBTNG 6.x-1.0-alpha7 autoload 2 etc...

When I try with Migrate v1.1 then the problem is a bit different

user warning: Table 'randrupal.collect_migrate_content_sets' doesn't exist query: SELECT mcsid, view_name, sourcekey FROM collect_migrate_content_sets in /myserver/mypath/sites/all/modules/migrate/migrate.views_default.inc on line 30.

Should I create this table manually?? Now when I try to access the admin pages it sadly announces that "MySQL has gone away". Where are you MySQL?? Don't leave me now!

I've done an update.php and it got worse, even deleting the module wouldn't bring me back to admin!
I also got this message at some point
Fatal error: Uncaught exception 'DatabaseConnectionNotDefinedException' with message 'The specified database connection is not defined: default'

Does anyone know what I did wrong?

wranvaud’s picture

Ok so I got it working, don't ask me why,

got to admin/build/modules => unchecked all new modules, uninstalled them, ran update.php and reinstalled...

fxarte’s picture

Hi!
Tried the suggestions above and still couldn't figured it out. FYI, this is the error I receive when going to admin/content/migrate:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'migrate_status' doesn't exist' in [ROOT]\sites\all\modules\dbtng\database\database.inc:1964
Stack trace:
#0 [ROOT]\sites\all\modules\dbtng\database\database.inc(1964): PDOStatement->execute(Array)
#1 [ROOT]\sites\all\modules\dbtng\database\database.inc(562): DatabaseStatementBase->execute(Array, Array)
#2 [ROOT]\sites\all\modules\dbtng\database\select.inc(1153): DatabaseConnection->query('SELECT ms.machi...', Array, Array)
#3 [ROOT]\sites\all\modules\migrate\migrate.module(39): SelectQuery->execute()
#4 [ROOT]\sites\all\modules\migrate\migrate_ui\migrate_ui.pages.inc(39): migrate_migrations()
#5 [internal function]: _migrate_ui_dashboard_form(Array)
#6 [ROOT]\includes\form.inc(378): call_user_func_array( in [ROOT]\sites\all\modules\dbtng\database\database.inc on line 1964

Hope this helps.

Thank you.