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

quicksketch’s picture

Status: Active » Closed (fixed)

I'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.

stefan_johansson’s picture

It sounds like the same problem as in
http://drupal.org/node/649852.
I solved the problem by disabling the CCK module in File Framework.