Forums / Install & configuration / Transferring URL aliases to migration table (upgrading from 4.0.1 to 4.0.2)

Transferring URL aliases to migration table (upgrading from 4.0.1 to 4.0.2)

Author Message

Josh Rader

Wednesday 03 March 2010 9:42:48 am

When I run the migrate.php script to transfer the URL aliases and history, the script gives me an error that the "ezurlalias_ml_migrate table does not exist, please add it to your system". I checked the database that I ran the script on and the ezurlalias_ml_migrate table is *definitely* there. I ran the script as follows:

D:\ez402>php extension/ezurlaliasmigration/scripts/migrate.php --migrate -s dbase

"dbase" is the name of the database we use. When I checked dbase in mysql, like I said above, the ezurlalias_ml_migrate table is there. So can someone tell me why it doesn't see it? I checked the ezurlalias_ml_migrate table after I ran the above script and the table is still empty. Also, I have the "ActiveExtensions[]=ezurlaliasmigration" line in the [ExtensionSettings] of my override/site.ini.append.php file.

Any help would be appreciated. Thanks.

André R.

Thursday 04 March 2010 5:30:35 am

-s parameter is not for database name, but siteaccess name. See #5:
http://ez.no/doc/ez_publish/upgrading/upgrading_to_4_0/from_4_0_x_to_4_0_y

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Josh Rader

Thursday 11 March 2010 8:39:07 am

I tried the command with the siteaccess name, as well, but it still did not transfer the data to the new table. I also used the --migrate-alias switch with the migrate.php, per 4.0.2 upgrade instructions, but that didn't work. The urlalias_ml_migration table should have the same data as the urlalias_ml table had after this script is run, correct?

Josh Rader

Friday 12 March 2010 11:30:23 am

Can I skip this part of the upgrade?