Recently I created a new Content type and Added a bunch of CCK fiekds in it. After that I migrated some contents to the system using node_save() function.
Everything was fine until I cleared the cache then 3 of my existing views broke and started to say "Views Broken/missing handler" in some of the fields and in filters. Though the fields do exist as the CCK fields in the proper content type.
- See the attached image
- When I try to remove or modify the field then it says "An illegal choice has been detected. Please contact the site administrator." Also the field formats is not show. Refer to the below image.
- These fields though exist in the CCK as per the below image.
- To make the site working again I have to go to the Content type's Manage Fields page and click on save. Then it starts to show in proper way (Followed: https://drupal.org/node/624826). The problem is if I clear cache then again this happens.
- I had backed up the database before the migration and once I saw this then I DROPPED the total database and again imported the sqldump in the blank database but then again once I cleared the cache it again showed Broken/missing handler.
I am totally confused here. Searched Google but didn't got a proper solution. After dumping the old database still its happening. Is it that Views and CCK is storing something while I created the CCK? We are using Memcache in the system, but I suppose that has nothing to do with it.
Please help me on this.
cache_views
table with a cid ofviews_data:en' (for English anyway) and CCK stores all manners of corresponding data in the
cache_content` table in thecontent_type_info:en
cid (again for English). If there is any way to turn off memcache, clear caches etc and see if the problem goes away might be a good first start of debugging.