Closed raulriera closed 14 years ago
Actual message
Migrating from 0 up to 20100216054151.
-------- 20100207023447_creates_users_table ---------------- Error migrating to 20100207023447. Element MIGRATION.CFC is undefined in LOC.
A fix for this as mentioned by Chris is to add "plugins" to the .htaccess, but I don't know how "secure" is that
There is also another fix needed... to add extends="plugins.dbmigrate.Migration" instead of extends="plugins.dbmigrate.migration" to all migration files... currently only the first one is that way...
Yup this is a long one to "debug" there is something wrong with content argument of line 8 in the 20100208085837_enter_default_data.cfc file. The plugin is not liking the HTML in there or something... removing that helps move to the next error... it doesnt like publishedat="now()#" for some reason... removing that passes all migrations... phewww
Fixed in commits
b5bfe0fd3a3a3b5878f597fc75a13b157b1a85f8 e5aabbc5eec3b7c29cebe61590596f47cd31379c f06faee5c954c851d347530c3a49fd61d631f748
Now the CMS can be installed directly from the DBmigration plugin out of the box
This is fixed on the official repo now
There is no way to run "dbmigrate" on a out of the box setup... the plugin erros on it can't find the Migrate.cfc component