Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
when upgrading to D6, one of my sites had an nodereferrer_create field; this field seems to block access to the content type in question. I'm getting the error message:
This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
Programme mit diesem Werk (field_programm_ref) is an inactive Node Referrers field that uses a nodereferrer_create_list widget.
Whatever this means: NodeReferrer 6.x-1.0-beta1 is installed and active, and update.php has been run several times. What do I have to do to get access to this content type back?
Thanks & greetings, -asb
Comments
Comment #1
asb CreditAttribution: asb commentedbtw: according to KarenS in All CCK custom fields are inactive after upgrading, this behaviour is not caused by CCK but by the contributed module ("If disabling and re-enabling the field module doesn't work you may have a field module that isn't implementing all the hooks").
Greetings, -asb
Comment #2
asb CreditAttribution: asb commentedMy approach to resolve this issue (with crucial help from attheshow):
After this, the field is still marked as "inactive" by CCK. So I once again disabled CCK and all related modules, ran update.php, enabled content.module, ran update.php again, enabled option widgets, ran update.php again and so forth. After enabling the rest of the CCK related modules, I got access to my CCK field back.
Hope this helps others, greetings,
-asb
Comment #3
asb CreditAttribution: asb commentedI just encountered a similar problem after another D5->D6 upgrade; the nasty approach from #2 seems to have worked this time again.
However, it would be nice to know how to fix this properly...
Greetings, -asb
Comment #4
asb CreditAttribution: asb commentedOK, I've been bitten by this issue on a third site, that's a total of 3 failures in 3 installations, where upgrading 'Nodereferrer create' during Drupal core/CCK upgrades doesn't work.
Changing the title to be more descriptive.
Structure of
content_node_field_instance
:Applying the SQL from above (sample output):
Result:
After disabling content.module and everything depending on it, running update.php, then re-enabling content.module, then running update.php again, then re-enabling Option widgets and so forth, I'm finally getting:
It would be nice, if the upgrade code for this module could be fixed.
Comment #5
asb CreditAttribution: asb commentedComment #6
PMatwyuk CreditAttribution: PMatwyuk commentedsubscribing