Hello,

Im using Drupal 7.15. I have been having this very weird problem for about a week now and nothing I do fixes it:

The content type created last on my site always get this message once or several times a day:
Inactive fields are not shown unless their providing modules are enabled.

This message shows on the field page of any content type just as long as it is the last one created (and shares fields that were created for other content types). This cause my views that uses the fields that are shared by another content type goes into errors too. I am not sure what triggers this error to show because running cron or clearing the cache doesnt recreate the problem for me.

The error message goes away as soon as I open up the page admin/structure/types/manage/content-type-name/fields page but happens again sometimes a few hours later, sometimes the next day.

I have checked the system table and found that text module, list modules etc are set to status=1. I have thought about reactivate modules/widgets but found that it is not possible to deactivate option module itself at all as it is required by drupal to run.

Has anyone seen problems like this before and had it fixed? Please help. Thank you.

B

Comments

blueblade’s picture

also, I need to add that the problem disappear and all pages are back to normal every time DB maintenance module runs and optimize all tables. I see the trail of the errors in my logs afterwards. Does this make it look very likely that something is not set correctly in my database? Any information will be much appreciated.

WorldFallz’s picture

This usually happens as the result of adding a field to a content type and then simply deleting the module without deleting the fields it provides and properly uninstalling it. If you've deleted/removed any modules recently, you should be able to resolve it by putting the module back in the modules directory, enabling it, deleting the fields it provides, and uninstalling it correctly.

blueblade’s picture

Thanks for your help again! I finally see some hope. I have been working on my site for a while now and have been adding/deleting modules, I am afraid that I dont have the full list of modules that have been added to my site in the past two months. Am I hopeless? Is there anyway to find out what modules is causing this problem? I am asking this just so that I can do a better check with information I may already have. Many thanks again.

blueblade’s picture

I have just found some more information by accident and hope this help someone help me...

The site I am having problem with now is one of the multisite I have installed on my vps. I started working on the site about two months ago and had it almost completed. At that time the content type which is showing errors now was working fine. From the original site's database, I made a clone and created the current one, original database is taking care of the main/original site and the cloned database is taking care of my only subsite. I have not touched the main site since the subsite was created, so there should not have been any changes to the main site however, I have just noticed today that the same exact problem is happening to the main site (same content types are kept there too, without any new modifications and those content types never had any problems). No new modules have been activated for the main site but this new problem is happening to it. Could this be cached issue? Everytime the error occurs all I need to do is to open the content type manage filed page and reload it and the problem will be gone. The most frustrating thing is that I am not able to reproduce the error. All I can do is to wait until it happens and make one little change, but I wont be able to see if the change helps until the error shows again, that sometimes take more than a day. It could take me years until I can get it fixed if Im lucky enough. Does anyone know what is the best way to deal with problems like this? Please help. Thanks.

blueblade’s picture

I installed Data, Schema modules and received the following information. Does anyone know what I can do to correct them?

Field field_data_field_build_year.field_build_year_value: no Schema type for mysql type datetime.
Field field_data_field_date_and_time.field_date_and_time_value: no Schema type for mysql type datetime.
Field field_data_field_date_and_time.field_date_and_time_value2: no Schema type for mysql type datetime.
Field field_data_field_year_made.field_year_made_value: no Schema type for mysql type datetime.
Field field_deleted_data_62.field_build_year_value: no Schema type for mysql type datetime.
Field field_deleted_data_75.field_test_value: no Schema type for mysql type datetime.
Field field_deleted_data_82.field_time_needed_value: no Schema type for mysql type datetime.
Field field_deleted_revision_62.field_build_year_value: no Schema type for mysql type datetime.
Field field_deleted_revision_75.field_test_value: no Schema type for mysql type datetime.
Field field_deleted_revision_82.field_time_needed_value: no Schema type for mysql type datetime.
Field field_revision_field_build_year.field_build_year_value: no Schema type for mysql type datetime.
Field field_revision_field_date_and_time.field_date_and_time_value: no Schema type for mysql type datetime.
Field field_revision_field_date_and_time.field_date_and_time_value2: no Schema type for mysql type datetime.
Field field_revision_field_year_made.field_year_made_value: no Schema type for mysql type datetime.
field_data_field_date_and_time.field_date_and_time_value: no type for Schema type datetime:normal.
Field field_data_field_date_and_time.field_date_and_time_value: no Schema type for type datetime.
field_data_field_date_and_time.field_date_and_time_value2: no type for Schema type datetime:normal.
Field field_data_field_date_and_time.field_date_and_time_value2: no Schema type for type datetime.
field_revision_field_date_and_time.field_date_and_time_value: no type for Schema type datetime:normal.
Field field_revision_field_date_and_time.field_date_and_time_value: no Schema type for type datetime.
field_revision_field_date_and_time.field_date_and_time_value2: no type for Schema type datetime:normal.
Field field_revision_field_date_and_time.field_date_and_time_value2: no Schema type for type datetime.
field_deleted_data_62.field_build_year_value: no type for Schema type datetime:normal.
Field field_deleted_data_62.field_build_year_value: no Schema type for type datetime.
field_deleted_revision_62.field_build_year_value: no type for Schema type datetime:normal.
Field field_deleted_revision_62.field_build_year_value: no Schema type for type datetime.
field_data_field_year_made.field_year_made_value: no type for Schema type datetime:normal.
Field field_data_field_year_made.field_year_made_value: no Schema type for type datetime.
field_revision_field_year_made.field_year_made_value: no type for Schema type datetime:normal.
Field field_revision_field_year_made.field_year_made_value: no Schema type for type datetime.
field_deleted_data_82.field_time_needed_value: no type for Schema type datetime:normal.
Field field_deleted_data_82.field_time_needed_value: no Schema type for type datetime.
field_deleted_revision_82.field_time_needed_value: no type for Schema type datetime:normal.
Field field_deleted_revision_82.field_time_needed_value: no Schema type for type datetime.
field_data_field_build_year.field_build_year_value: no type for Schema type datetime:normal.
Field field_data_field_build_year.field_build_year_value: no Schema type for type datetime.
field_revision_field_build_year.field_build_year_value: no type for Schema type datetime:normal.
Field field_revision_field_build_year.field_build_year_value: no Schema type for type datetime.