This tag is for questions about the Migrate module, or the Migrate Extras module. For questions about migration, use the "migration" tag.
1
vote
1answer
23 views
Print specific block from a region in drupal 7
The region name is "sidebar_first". and it has two blocks. How can I print this block separately. Please help. I can not find the way to print a specific block from a region in drupal 7.
0
votes
0answers
13 views
Migrating to a Field Collection
I'm working on a project that requires a CSV of speaking engagements to be migrated to Drupal. With Migrate, I've been able to migrate over basic fields, like name, title, etc.
However, the speaker ...
1
vote
1answer
21 views
Trying to migrate Date values using migrate module.
I'm trying to migrate some data from a csv to a field_collection in a user profile. Everythings works fine but not for a field of Date (with range) type.
I'm on Drupal 7.22 and I'm using Migration ...
2
votes
3answers
23 views
Do migrate module migrations continue in background if terminal session ends?
I'm working on a migration that involves some long migration times - many hours to migrate some tables. I use the drush commands to perform my migrations, but often something happens in the middle. ...
0
votes
1answer
17 views
Error while migrate wordpress to drupal
I want to migrate a wordpress blog to drupal. I create an "Article blog" content type with three fields: body, tags and categories (plus default title field). I am trying to import with Wordpress ...
0
votes
2answers
27 views
Performance issues with Migrate Cron update
I am running Migrate updates with cron every couple of minutes. I don't have many nodes (less than 100) but certain of them are data-heavy. Because of the wonky way my XML is written, I am forced to ...
0
votes
1answer
22 views
Assign previous migration destination id in prepareRow
Working on migration of 6 to 7 where 2 websites are being merged into one. This is being done using migrate module.
There are duplicate users in 2 source sites and intended result is that the user ...
0
votes
1answer
28 views
Specify which Migrate entries need to be updated using prepareRow
I have made a Migration that i run with Cron. My highwater field is the date changed, which is present in the XML (source) document. Then I do this in my cron function:
$result = ...
0
votes
0answers
28 views
Only trigger migrate of data using highwater mark
I have some XML of the following structure to import into Drupal:
<list>
<item id="0001" xml="http://www.example.com/0001.xml" dateChanged="24 June 2013 12:00:00"></item>
...
0
votes
0answers
36 views
Unable to edit body content after migrate node
i migrate nodes with migrate d2d but the body content edition field is empty,so i can't modify it.
do someone know about this ?
thanks
0
votes
0answers
20 views
Migrate d2d doesn't clear cache
i run into an issue since yesterday.i usually use my distant db to make test on importing datas (nodes,files).But whithout found explanation, i can't connect to my db :
WD php: PDOException: ...
2
votes
2answers
134 views
Preserve term association when migrating nodes
Actually I can migrate nodes depending on their type, and the author comes with node import like this in d2d :
$this->addFieldMapping('uid', 'uid');
but I don't know how to do the same to keep ...
2
votes
1answer
38 views
Converting Drupal 7 Content Types
What are the steps needed and modules required to convert a large number of nodes from one content type to another, both in Drupal 7. They are fairly simple. If you know of a good tutorial that would ...
1
vote
2answers
141 views
Can I convert a Joomla site to Drupal (Theme, Content, Users, Modules)?
Can I migrate an entire site made in Joomla to Drupal 7?
The Joomla site is:
Custom Theme.
Plugins (that are modules in Drupal, eg Slideshow,
Twitter, Facebook).
Content
Categories
Users
I ...
0
votes
1answer
53 views
Migrate to data field with multiple values
I'm trying to use the migrate module to create products.
My issue is that I need to map data to a field that contains multiple values.
This is the exact case.
Product A has 3 prices,
Stand Price
...
0
votes
2answers
39 views
Migrate files from directory to Drupal using Migrate
I have a folder with a large amount of files in. I need to migrate this into Drupals file system so I can then reference them in the content.
The ID of the file is the actual name e.g. 1234.jpg
...
0
votes
0answers
27 views
Migration wrong number imported, but imported correct number of item
I have this class:
class MigrateMhtNotizieCommentiMigration extends MigrateMhtAbstractCommentMigration {
public function __construct() {
$arguments = array();
$arguments['whr'] = 3;
...
1
vote
1answer
47 views
How do I get a new database connection with a new setting?
I want to set the GLOBAL variable innodb_flush_log_at_trx_commit, and then run a migration after getting a new connection since changes to a global variable does not affect the current session.
So ...
1
vote
1answer
47 views
Migrate: external class (migration class) not found
I have a module for my migration. My .info is:
name = "Migrate from MHT"
description = "Module to migrate my old site content to Drupal 7"
package = "ZbLabs"
core = 7.x
dependencies[] = migrate
# ...
1
vote
0answers
46 views
Migrate: how to get uid from MigrateUser
I'm using migrate module, but I don't understand how to get "uid" from my "MigrateMhtAuthor" class (it is sourceMigration setting). I have this code in my main class:
class MigrateMhtAdsMigration ...
0
votes
1answer
41 views
How to use geofield migrate extras
I can not understand how to use migrate_extras and for example how to use geofield migrate extra support.
I have create a Migration class that work. In my "source" I have 2 "fields" called latitudine ...
0
votes
1answer
170 views
Migration not importing into image fields
I'm working on a Migration class to import from a depreciated WordPress plugin and everything's just about there -- everything succeeds when importing and there aren't any errors; taking the SQL from ...
0
votes
2answers
24 views
Migrate content based on publish date content
i use d2d migrate module to migrate content between D6 and D7 websites.Actually my migration class do partially the job for all content of a type (some issue on mapping custom fields), but i would to ...
1
vote
1answer
98 views
MigrateSQLMap how to instantiate if table has no primary key
Guys how do you instantiate this MigrateSQLMap if my destination table has no primary key?
here's my code:
$table_name = 'taxonomy_index';
$this->map = new ...
0
votes
1answer
60 views
how to map comments in drupal migrate module
So im migrating comments from a different database to Drupal 7 but i cant understand why this wont work. Im successful with migrating nodes, i only mapped the node fields and somehow its node_revision ...
0
votes
0answers
14 views
how to migrate to node revision
Guys i have managed to migrate a forum to a node. Now my problem is i cant still see it in website cause it needs to have a node revision right? how to include the node revision to the migration ...
0
votes
2answers
82 views
how to disable a class in migrate module
I have already deleted a migrate class in the .inc file and also deleted it in the .install file but i still get an error saying:
Class ForumTermMigration no longer exists
Class ForumUserMigration no ...
1
vote
1answer
77 views
Migrating taxonomy terms when source is a separate table?
I'm writing a migrator for a now-unsupported WordPress plugin that used a single "attachments" table to store data ranging from thumbnails to musical genres. It looks like this:
mysql> describe ...
3
votes
1answer
64 views
What is the best workflow to migrate a site using domain access?
i have a site with 20 subdomains using the domain access module on a dev server and i want to migrate them to a production server.
There is only a change from
subdomain.maindomain.eu
to
...
0
votes
1answer
119 views
Migrate d2d picture migration destination path incorrect
I'm in the process of building a migration module for a d6 to d7 migration using the d2d module.
I'm almost there, but one thing that's holding me back is the DrupalPicture6Migration. After trial and ...
0
votes
0answers
15 views
How can we add other drupal mysql database in settings.php in my local host? [duplicate]
We have connection to drupal database in settings.php as
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'migrate_test',
'username' ...
0
votes
1answer
34 views
how to select a non-drupal (souce db) database in a migrate module
can i still use a db_select(); if my source database is a non-drupal site? how can the migrate module know what database im referring? i cant see any configuration for migrate module on how to change ...
0
votes
1answer
106 views
How to migrate to translatable fields
I am using the latest Entity Translation module in order to provide a couple of translatable fields for some of my content types. I have a content type which has a translatable field which is called ...
1
vote
2answers
157 views
Export and import content from one drupal site to another?
I want to export content with comments and user data with content relation from one Drupal site to same version of another site. In another site there is no content and users data it has only some new ...
0
votes
1answer
61 views
Trying to migrate user data into multi value term reference field
FYI: I'm using the module Migrate 7.x-2.5
I'm trying to migrate users from a custom built PHP website, backed by a mysql database, into Drupal.
Each user can have multiple statutes assigned to him. ...
4
votes
1answer
67 views
How were api.drupal.org and drupalcontrib.org built?
I have always found them useful and I may be looking to build something similar from another code base.
I am guessing that there is something like a migrate from doxygen. But I would assume that ...
4
votes
2answers
140 views
Migrate CSV source serial
I am using migrate to import Commerce Products from a CSV file. The CSV file doesn't have its own serial so I am using csvrownum but that obviously won't work if there are already products -- I will ...
0
votes
2answers
192 views
Migrate Organic Groups from a Drupal 6 database to Drupal 7
I'm using migrate_d2d to migrate my Drupal 6 site to Drupal 7. I've already created several working migration classes to migrate the content of the D6 site into the D7 site. Now I'm working on ...
0
votes
0answers
42 views
Rebuilding content access permissions upgrade D6->D7 stuck at 99.97%
Hello I'm having trouble finding why rebuilding content access permissions can't complete. It get stucked at 99.97% every time I try to run it. Everything else seems to work properly. Any idea? I'm ...
0
votes
0answers
70 views
drupal multi-site primary domain content migrate to subdomain site
currently we have a single-domain site in production, for the purpose to develop a mobile site, i plan to do the multi-site set up
so i add the extra folder under sites/m.myhostdomain.com, and have ...
0
votes
2answers
87 views
Migrate custom content type to D7 from D6
i start with migrate_D2D module after did try with migrate 2.5.Same issue for me : import custom content type into D7 fresh install.
So i have some questions about db query :
do i create custom ...
0
votes
1answer
45 views
Migrate doesn't update destination files if source files have changed content
I'm using Migrate 7.x-2.5 to keep Commerce products synchronized between a legacy system and a Drupal ecommerce website.
I setup two migration methods, one for Commerce Products entities and one to ...
0
votes
1answer
76 views
Create a node from XML on request
Is it possible to import XML and create a node upon request?
For example, if a user clicks a link http://www.site.com/item-1, can the corresponding XML file ...
0
votes
0answers
14 views
Drupal 6: Two quick questions about Migrate
1: Can I have two separate migrations use the same Destination Node? I have one that imports from a list, and another that I want to trigger when a user navigates to a URL which matches the name of ...
0
votes
0answers
47 views
Using Domain module in Drupal Migration
I am using migrate_d2d module to migrate users from D6 to D7 site. I am also using domain module to specify the domain for each user which is new to my D7 site.
$common_arguments = array(
...
2
votes
2answers
139 views
Moving site to new domain on the same server
We're having a problem (well, a series of problems actually, but this one appears more difficult to solve) moving a clients site to a new domain on the same server / hosting account.
The site is ...
1
vote
0answers
82 views
When user navigates to a URL, import feed of XML file specified by ID in URL
I have a url www.example.com/123456, generated by a third party source. So there is not, at the time the user clicks, any node that corresponds to that URL. The six digit number at the end is an item ...
1
vote
0answers
123 views
Running regular Migrate in Cron leads to duplicate nodes
Related: Schedule Migrate to import XML data regularly
I am getting duplicate nodes every time I try to do a rollback/update. Is it because they are triggered when users visit the page (instead of ...
0
votes
1answer
74 views
Unrecognized migration
I am using this example: https://gist.github.com/2596787 as a base for importing some static HTML to a Drupal 7 fresh install. Using drush ms:
Group: Total Imported Unimported ...
0
votes
2answers
219 views
Schedule Migrate to import XML data regularly
Is it possible to schedule Migrate to import/update my XML regularly, say, once an hour? Maybe in Rules?
EDIT: I have a skeleton of a module written for this now, to hook into Rules.
Event: If ...