Hello
I have been a user of D5 for quite some time, but because a somewhat urgent project requires features which it doesn't have, I'm playing with D6.10 and filefield_sources.
I receive the following error when trying to create a user:
An illegal choice has been detected. Please contact the site administrator.
Well, that's me, and I've not a clue.
I did get the following error, while trying to add a node of a type I created. The type has a filefield field associated with it, into which I had uploaded a file, and this happen on save:
* warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in /home/webusers/.../drupal6/includes/module.inc on line 473.
I have no idea what factors might be involved here, as this is the first node of any content type which I have added, and the first user after the administrative account.
I'll pull D6 and start from scratch if I have to, testing as I go, but I thought I'd ask here first.
The modules at play are:
advanced_help filefield_paths imce transliteration cck filefield_sources mimedetect views filefield getid3 token
Oh, the getid3 module is currently broken, because it can not find the main library on which it depends, on my Ubuntu system.
Luke
Update:
I figured it would be quick enough to just install a copy of 6.11 to a pure directory, and try again.
Well, exactly the same thing happens.
I created a role called "special user", and selected it in the roles for the new user which I called "spectest" (although I have tried other names).
There are no modules beyond core default active in this copy.
I have tried deselecting the "special user" role, and the "notify user of new account". I have tried changing the username, and trying different passwords.
"An illegal choice has been detected. Please contact the site administrator."
Any thoughts?
Luke
On Thu, 30 Apr 2009, Luke wrote:
Hello
I have been a user of D5 for quite some time, but because a somewhat urgent project requires features which it doesn't have, I'm playing with D6.10 and filefield_sources.
I receive the following error when trying to create a user:
An illegal choice has been detected. Please contact the site administrator.
Well, that's me, and I've not a clue.
I did get the following error, while trying to add a node of a type I created. The type has a filefield field associated with it, into which I had uploaded a file, and this happen on save:
* warning: array_merge_recursive()[function.array-merge-recursive]: recursion detected in /home/webusers/.../drupal6/includes/module.inc on line 473.
I have no idea what factors might be involved here, as this is the first node of any content type which I have added, and the first user after the administrative account.
I'll pull D6 and start from scratch if I have to, testing as I go, but I thought I'd ask here first.
The modules at play are:
advanced_help filefield_paths imce transliteration cck filefield_sources mimedetect views filefield getid3 token
Oh, the getid3 module is currently broken, because it can not find the main library on which it depends, on my Ubuntu system.
Luke
[ Drupal support list | http://lists.drupal.org/ ]
Okay, one final update: the dblog is showing "Illegal choice 2 in Roles element" in relation to this error.
One google result for that, and it is a non-helpful D5 post about the gallery module.
Luke
On Thu, 30 Apr 2009, Luke wrote:
Update:
I figured it would be quick enough to just install a copy of 6.11 to a pure directory, and try again.
Well, exactly the same thing happens.
I created a role called "special user", and selected it in the roles for the new user which I called "spectest" (although I have tried other names).
There are no modules beyond core default active in this copy.
I have tried deselecting the "special user" role, and the "notify user of new account". I have tried changing the username, and trying different passwords.
"An illegal choice has been detected. Please contact the site administrator."
Any thoughts?
Luke
On Thu, 30 Apr 2009, Luke wrote:
Hello
I have been a user of D5 for quite some time, but because a somewhat urgent project requires features which it doesn't have, I'm playing with D6.10 and filefield_sources.
I receive the following error when trying to create a user:
An illegal choice has been detected. Please contact the site administrator.
Well, that's me, and I've not a clue.
I did get the following error, while trying to add a node of a type I created. The type has a filefield field associated with it, into which I had uploaded a file, and this happen on save:
* warning: array_merge_recursive()[function.array-merge-recursive]: recursion detected in /home/webusers/.../drupal6/includes/module.inc on line 473.
I have no idea what factors might be involved here, as this is the first node of any content type which I have added, and the first user after the administrative account.
I'll pull D6 and start from scratch if I have to, testing as I go, but I thought I'd ask here first.
The modules at play are:
advanced_help filefield_paths imce transliteration cck filefield_sources mimedetect views filefield getid3 token
Oh, the getid3 module is currently broken, because it can not find the main library on which it depends, on my Ubuntu system.
Luke
[ Drupal support list | http://lists.drupal.org/ ]
Quoting Luke drupal@lists.tacticus.com:
"An illegal choice has been detected. Please contact the site administrator."
Any thoughts?
Check admin/reports/dblog and filter for 'form' errors. It should tell you which form and element is incorrect.
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
On Thu, 30 Apr 2009, Earnie Boyd wrote:
Check admin/reports/dblog and filter for 'form' errors. It should tell you which form and element is incorrect.
error|form|04/30/2009 - 02:19|Illegal choice 2 in Roles element. LukeD
Expanded:
Type|form Date|Thursday, April 30, 2009 - 02:19 User|LukeD Location|http://example.com/drupal6/admin/user/user/create Referrer Message|Illegal choice 2 in Roles element. Severity|error Hostname|X.X.X.X Operations
The first browser I tried this in had no JS support (links2). The second had JS support, but I'm guessing that it didn't quite have the correct support (edbrowse--a scriptable commandline browser--waaaay oldschool, but usually works better than the other textmode stuff available).
The third browser I tried was Pockit IE on a cellphone I had available, and that worked to add the user. I'm guessing that there is some JS element at play here which is getting in my way, although why there should be JS involved in a roles selection, I know not.
So while the problem is not solved, there is a workaround. I would guess that FireFox can handle this, but I haven't cracked open the laptop to try it yet.
Any ideas on what might be going on?
Luke