In the process of upgrading sites from Drupal 6 to Drupal 8 using the information provided by Drupal Documentation, using the drush implementation.

I have a multisite setup in Drupal 8 and found that drush reads the current site according to the values found in /sites/default/settings.php so for each site I upgraded I had to change the database settings in that file to suit the site I was working on.

Amazingly all the content migrated without a problem.  The taxonomy also migrated but did not display.  After investigation I found that the taxonomy_term_hierarchy table is essential and that this was empty.  Since all my taxonomies are flat I was able to rectify this with a simple bit of code run in devel/php

$result = db_query('SELECT tid FROM {taxonomy_term_data} ')->fetchAll(); foreach ($result as $record) { db_query('INSERT INTO {taxonomy_term_hierarchy} (tid, parent) VALUES ( :tid, 0 )', array(':tid' => $record->tid)); }


Blog comments

Submitted by Ethan William on Tue, 05/02/2017 - 09:21


I can barely wait to read more in your site. You've as of late reminded me how enormous the Drupal world is and the sum notwithstanding I have to learn. Believe you'll say something in regards to perfect work forms for Drupal change. Thanks a lot for sharing this great informations here.

Submitted by jamessusan104 on Fri, 07/21/2017 - 07:40


WordPress, Drupal and Joomla all of those are ideal for an excellent CMS for a internet site. those days, WordPress is the main extensive-unfold one among the different Open resource CMS obtainable contained accessible. It can provide countless constructive factors and plugins makes the internet progression is extremely user-friendly.

Submitted by rollinz on Thu, 08/24/2017 - 07:30


The migrate module gives an adaptable system to moving substance into Drupal from different sources (e.g., while converting a web site from another CMS to Drupal). Out-of-the-container, bolster for making center Drupal questions, for example, hubs, clients, records, terms, and remarks.

User login