I just updated my site from Drupal 6.2 to 7, and found that all my custom fields had disappeared.

On the node edit pages I get the following errors:

Notice: Undefined index: description in field_multiple_value_form() (line 156 of /home/ajarvis/public_html/clovenhand/d7/modules/field/field.form.inc).
Notice: Undefined index: required in field_multiple_value_form() (line 178 of /home/ajarvis/public_html/clovenhand/d7/modules/field/field.form.inc).
Notice: Undefined index: required in field_multiple_value_form() (line 207 of /home/ajarvis/public_html/clovenhand/d7/modules/field/field.form.inc).

And the fields don't seem to be anywhere in the admin, however, checking the db in phpmyadmin I see the data is still there.

In Manage Fields they are not listed, though I did install ContentTemplate and I found the fields are at least mentioned there, with things like this in the Body Variables window:

$node->content['body']['#object']->content['body']['#object']->content['body']['#bundle']
legacy_image

Which is the name of one of my missing fields (legacy_image) but the data doesn't show up there either.

Otherwise loving D7! :)

Comments

AndrewJarvis’s picture

NEW INFORMATION!

I experienced the exact same problem with Drupal 6 > Drupal 6!

Background info: this a completely clean install with all node and user data imported from CSVs using the node_import module.

I dumped the DB from my local (that has the custom fields) I uploaded a fresh set of D6 files to my server, and imported the DB onto my hosting. The fields were gone. It wasn't until I uploaded the CCK module that the fields appeared again.

So, maybe this is a giant "DUH", but if D7 has CCK in core, what would make it not see the fields created by CCK in D6?

Thanks!

AndrewJarvis’s picture

Still looking for some kind of help with this--I noticed that there is a CCK module for D7, is it required to have that module when converting, even though custom fields are in core now?

Thanks so much for reading--any help would be greatly appreciated!