I have created feature of custom content type and views. including all fields of content type. But when enabled on production site it does not create any cck fields. Anyone know why can be the reason?
I have created feature of custom content type and views. including all fields of content type. But when enabled on production site it does not create any cck fields. Anyone know why can be the reason?
Comments
Comment #1
natted commentedYou haven't included much other information, so I can only suggest the following:
I experienced a similar issue with 1.0-rc2. After enabling the module, simply clearing the drupal cache ensured that the fields would appear.
Comment #2
mpotter commentedSometimes you might also need to do a force-revert of the feature using drush:
drush fr --force featurename
to force Drupal to rebuild the field. Marking this as fixed until/unless a reproducible issue is posted.
Comment #3
PascalAnimateur commentedI experience the exact same thing.. all the fields get created without a problem on my local dev machine, but on my shared host no fields at all (except title).
Same php version (5.3), vanilla drupal 7.22 !
Comment #4
PascalAnimateur commentedTurns out my version of Features was outdated (7.x-2.0-beta2), updating to 7.x-2.0-rc1 and flushing the cache made all the fields appear automagically !
Comment #5
blakefrederick commentedThanks PascalAnimateur for the helpful comment. I had the same problem with fields not being created when exported using Features. Turns out I was using Features 7.x-1.0. After I upgraded to 7.x-2.2, it fixed my problem. Thanks!