Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to add a filefield or imagefield widget to a content type I just get this message:
An illegal choice has been detected. Please contact the site administrator.
when looking through the log I don't get much wiser as I'm just told "Illegal choice imagefield_widget in _add_new_field element."
Does anyone have any suggestions as to why I cannot use filefield?
Comments
Comment #1
quicksketchI'm lost as to what would be causing this problem. It does not occur on fresh installations of either FileField or ImageField. I'd suggest disabling other File/Image/CCK related modules until you are able to properly save. Checking in other browsers might also have some effect. I'm closing this issue directly considering its age. Please reopen if you have further questions on this issue that I might be able to help with.
Comment #2
stefan_johansson CreditAttribution: stefan_johansson commentedIt sounds like the same problem as in
http://drupal.org/node/649852.
I solved the problem by disabling the CCK module in File Framework.