I've installed CCK in a brand new installation of the 4.7.1 code, patched the content_module.inc file to fix the array problem, and now I can create a content type, but even though I have enabled the text.module, I'm getting this error when I try to set some fields for the module:
"No field modules are enabled. You need to enable one, such as text.module, before you can add new fields."
Any ideas? Have I missed something in the installation?
-j
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | clear_cache_before_editing_content_types.patch.txt | 605 bytes | dman |
Comments
Comment #1
mopi commentedI have the same problem
Comment #2
dman commentedDitto.
Brand new (4.7.2 stable) install with nothing else enabled.
content.module fresh from CVS
- enabled content.
- went to define content type, set title OK, but was told to enable text.module.
- Did so (checked module IS enabled on admin/modules)
- Still can't add a text field.
... investigating now.
Comment #3
dman commentedIt appears that content_clear_type_cache() was not being called often enough in the process I described above.
Deleting my (empty) content type and starting again did trigger recognition of the text.module.
Perhaps the content_clear_type_cache() should be double-checked in the _content_admin_field_add() function or thereabouts before giving this erroneous message.
EG:
Comment #4
karens commentedI think this problem has been fixed since this issue was posted.
Comment #5
(not verified) commented