Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I click save configuration on the PLAYERS tab I get this error
"An illegal choice has been detected. Please contact the site administrator."
It may be because I am having to used drupal 7-dev - April 5 version.
(when you upgrade to the latest apache, the feb1 of drupal 7 has issues, which will be fixed by next core release)
Comment | File | Size | Author |
---|---|---|---|
#6 | player-config-pre-submit.jpg | 88.62 KB | ws5_chrisl |
#6 | player-config-post-submit.jpg | 222.46 KB | ws5_chrisl |
#6 | player-config-post-submit-error-log.jpg | 314.16 KB | ws5_chrisl |
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedAn associated error warning should also have been logged to the Drupal error log. Could you try to find that log entry and post it here?
Is this error happening consistently or just once in a while? What Flash / HTML5 players are available on your system?
Comment #2
webengr CreditAttribution: webengr commentedIf I am the only one this is happening to... don't worry, I put the video on you tube and stuck the embed code for now rather than setup a content type to get the job done.
I installed the module for video.js
However to help... It seems that it does it for all players..... I\
Do you want me to do a default install of module video on a test site with just enough modules to run video then without making any player changes click save configuration on that tab ?
HERE is a cut/paste of the drupal log
TYPE
DATE
MESSAGE
USER
OPERATIONS
form 2012-04-10 12:00 Illegal choice in HTML5 player for webm element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for webm element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for ogv element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for ogv element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for ogg element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for ogg element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for mpeg element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for mpeg element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for mpg element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for mpg element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for avi element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for avi element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for wmv element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for wmv element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for asf element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for asf element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for dcr element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for dcr element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for dir element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for dir element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for swf element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for swf element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for flv element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for flv element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for f4v element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for f4v element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for rm element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for rm element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for m4v element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for m4v element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for mp4 element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for mp4 element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for 3g2 element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for 3g2 element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for 3gp element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for 3gp element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for mov element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for mov element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for mkv element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for mkv element. admin
form 2012-04-10 12:00 Illegal choice in HTML5 player for divx element. admin
form 2012-04-10 12:00 Illegal choice in Flash player for divx element.
Comment #3
webengr CreditAttribution: webengr commentedCONFIRMED
Same server on a new website with minimal modules using drupal 7 dev version as of April 5th,
And after installing video and video ui,
I went staight to the configuration player and with none changed clicked on save configuration
and immediately got mulitple errors,
"An illegal choice has been detected. Please contact the site administrator."
It may not be the fault of the video module - could be something else... but I did generate
the fault inside the video module when attempting to save configuration for player with
nothing changed.
Type Date Message User Operations
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for webm element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for ogv element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for ogg element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for mpeg element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for mpg element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for avi element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for wmv element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for asf element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for dcr element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for dir element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for swf element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for flv element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for f4v element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for rm element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for m4v element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for mp4 element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for 3g2 element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for 3gp element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for mov element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for mkv element. admin
form 04/10/2012 - 14:52 Illegal choice in HTML5 player for divx element. admin
system 04/10/2012 - 14:52 video_ui module enabled. admin
system 04/10/2012 - 14:52 video_ui module installed. admin
system 04/10/2012 - 14:52 video module enabled. admin
system 04/10/2012 - 14:52 video module installed. admin
Comment #4
Jorrit CreditAttribution: Jorrit commentedUnfortunately, I can't reproduce this problem. Can I get access to your site with sufficient permissions to reproduce this problem? Is it happening for all browsers?
Comment #5
Jorrit CreditAttribution: Jorrit commentedAnother question: could you post screenshots of the form before and after you submit it?
Comment #6
ws5_chrisl CreditAttribution: ws5_chrisl commentedI'm experiencing the same issue. The strange part is that this was working previously; I just rebuilt the Drupal install from scratch to eliminate all the cruft that had built up during development.
I've attached 3 screenshots:
Let me know if I can provide any more information to help debug this issue. Thanks!
Comment #7
ws5_chrisl CreditAttribution: ws5_chrisl commentedOkay, found something interesting. I used Drush to build the project and didn't realize that Drush had downloaded 7.13-dev when I ran
drush make
. I rolled the core Drupal install back to 7.12 and everything works fine.Comment #8
Jorrit CreditAttribution: Jorrit commentedIt is certainly weird that the current Drupal issue is the problem. I see some changes in the Drupal commit log related to this situation. I'm going to keep an eye on this when 7.13 is released.
Comment #9
webengr CreditAttribution: webengr commentedAgreed, leave closed since the 7 dev is still morphing, it may go away....
But when you are ready to and if you need a temporary sandbox website, let me know
and I'll create and ftp account and load up a test site on one of my servers and give admin in
appreciation of the project.
Comment #10
Jorrit CreditAttribution: Jorrit commentedThanks for that, I don't think it is necessary. If I have time, I'll update my own development installation to see if I can fix the bug before 7.13 is released. That settings screen is kind of hacky anyway, with all those hidden radio buttons. I might change it to something that uses AHAH.
Comment #11
Jorrit CreditAttribution: Jorrit commentedThe problem is still present in the current -dev version of Drupal, which will become 7.13 this Wednesday. I have committed a fix for this problem.
For all people that want this fix: be careful when updating to Video 7.x-2.x-dev. The version has been tested a lot, but contains many changes. Read the release notes of the development release before you upgrade.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm having this same issue with using 7.14.
What is it that I should do to fix this?
Comment #13
Jorrit CreditAttribution: Jorrit commentedPlease update to 7.x-2.x-dev. Please read the release notes before updating.
Comment #14
vadzen CreditAttribution: vadzen commentedHi,
Drupal 7.14
video version 7.x-2.5
I have the same issue
Log:
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for webm element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for webm element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for ogv element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for ogv element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for ogg element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for ogg element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for mpeg element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for mpeg element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for mpg element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for mpg element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for avi element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for avi element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for wmv element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for wmv element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for asf element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for asf element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for dcr element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for dcr element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for dir element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for dir element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for swf element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for swf element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for flv element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for f4v element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for rm element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for rm element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for m4v element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for m4v element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for mp4 element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for 3g2 element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for 3g2 element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for 3gp element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for 3gp element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for mov element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for mov element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for mkv element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for mkv element.
form 05/14/2012 - 18:22 Illegal choice in HTML5 player for divx element.
form 05/14/2012 - 18:22 Illegal choice in Flash player for divx element.
Drupal 7.14
video version 7.x-2.5-dev
The configuration options have been saved.
The issue solved.
Thanks
Comment #15
kennywyland CreditAttribution: kennywyland commentedI'm using Drupal 7.14 and the Video module 7.x-2.6 and I'm getting this same error. It may have worked ok for vadzen with 7.x-2.5-dev, but it's not working with 7.x-2.6.
EDIT: I tested with 7.x-2.x-dev and it's working, but 7.x-2.6 has a publish date of 2012-May-16 and 7.x-2.x-dev has a publish date of 2012-May-09 so that's a bit confusing to me. It looks like 2.6 should contain whatever bug fix is included in the 2.x-dev, but either it doesn't contain the fix or something that is stripped out of 2.x-dev during the conversion to production code is stripping away part of the bug fix.
Comment #16
Jorrit CreditAttribution: Jorrit commentedThis is very strange: I just downloaded 7.x-2.x and 7.x-2.6 and the only difference between the two is in the version numbers in the info files. Could you try to download 2.6 again?
Comment #17
Jorrit CreditAttribution: Jorrit commentedI will close this issue as you have contacted me by mail and this issue seems resolved.
Comment #18
David Lesieur CreditAttribution: David Lesieur commentedI also had this issue with Drupal 7.14 and Video 7.x-2.5. Updating Drupal to 7.15 solves the issue. That allows someone who's in a hurry to keep the upgrade to Video 7.x-2.7 for later.
Comment #19
pavennt CreditAttribution: pavennt commentedI also had this error.I fix it by simple
in file video/modules/video_ui/video.admin.inc
remove "" in default value form
save and login admin admin/config/media/video/players select type and save