I did a drupal 6 to drupal 7 upgrade, my site was using node hierarchy 6.4
In drupal 7, i installed node hierarchy 7.4, and then ran update:
Nodehierarchy 6200 Update from the 5.x or 6.x-1.x branches.
Nodehierarchy 7200 Replace the pathauto tokens which have changed format.
Nodehierarchy 7400 Add the new table for Node Hierarchy.
Nodehierarchy 7401 Move the Node Hierarchy storage over to the new db format.
Nodehierarchy 7402 Install the Node Hierarchy menu module
Do you wish to run all pending updates? (y/n): y
I get error
Table nodehierarchy_menu_links already exists.
Yes I have that table and it has over 4000 entries.
What can I do. I tried to drop the table but got more errors
i tried node hierarchy 7.4 and 7.2, rolled back database beforehand
My site still function and node hierarchy 7.4 is on.
I ran update again and it asked to run the same updates listed above, and I get the same table error.
I looked at a fresh drupal 7 site with node hierarchy 7.4 on , and it did not have a table nodehierarchy_menu_links, it only hade the table nodehierarchy
My old drupal 6 site had 2 tables
nodehierarchy_menu_links
nodehierarchy
both had over 4000 entires
Comments
Comment #2
leisurman commentedComment #3
leisurman commentedhttps://www.drupal.org/node/1218822#comment-8753923
found this post that says to To avoid this, on D6, update nodehierarchy-6.x-1.x to latest nodehierarchy-6.x-2.x then upgrade to D7
I will try this. The 6.2 this branch was a big change, it uses the core menus system to maintain the underlying hierarchy. I think it tells the drupal menu hierarchy, each node's hierarchy path so the drupal menu can mirror the path? THis could be good. I would like to find a way for the drupal menu to know what each nodes hierarchy is, then I can stop using node hierarchy. The drupal menu has the structure.
Comment #4
leisurman commentedYes it worked.
on D6, update nodehierarchy-6.x-1.x to latest nodehierarchy-6.x-2.x then upgrade to D7 and install nodehierarchy-7x-2.x