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

natted’s picture

You 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.

mpotter’s picture

Status: Active » Closed (cannot reproduce)

Sometimes 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.

PascalAnimateur’s picture

I 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 !

PascalAnimateur’s picture

Status: Closed (cannot reproduce) » Closed (fixed)

Turns 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 !

blakefrederick’s picture

Issue summary: View changes

Thanks 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!