User login

Agaric wants to never, ever see the message illegal choice detected by administrator

Or maybe it's the form validation error that we never want to see. Yes, I may have a form open 50 hours before submitting it! Drupal shouldn't have a problem with that!

Ok, back to the strangeness at hand:

An illegal choice has been detected. Please contact the site administrator.
http://drupal.org/node/153774

says to use the (dangerous) #dangerous_skip_check

An illegal choice has been detected. Please contact the site administrator.
http://drupal.org/node/83977

A lot of people saying they've had the error in different places, but not much information.

Most useful was this:

#1
nicholasThompson - October 7, 2006 - 19:31

I've found that a common cause of this is if a form posts to another form but doesn't clear its $edit details from the $_POST. Drupal then thinks you're editing the next form rather than moving onto a new one and sometimes cant fill in fields that dont exist.

This was a problem we had to get around for the Quiz module.

This is another problem that Agaric started to document and it either went away or we forgot the solution. Sorry! We'll have a head start on documenting next time...

Resolution

Searched words: 
Drupal "Please contact the site administrator."

Comments

just in case

just in case someone finds this page whilst looking for info about this error, a good explanation is here:

http://proofgroup.com/blog/2008/jul/debugging_mysterious_illegal_choice_has_been_detected_please_contact_site_ad...

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.