An illegal choice has been detected. Please contact the site administrator.
blnd - January 10, 2008 - 07:13
| Project: | I love this |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello, everytime I check the "read 'who love this page' list" in the access control, I get this error.
An illegal choice has been detected. Please contact the site administrator.
Also, how do I change the text of "I love this page" to something else.
Thanks.

#1
#2
Hi blnd,
I've just tested the module on a fresh drupal 5.6 installation, without the "An illegal choice has been detected..." issue
Have you set up the module at http://yoursite/admin/settings/ilovethis ?
If you still have the same problem, please feel free to ask, providing more detailed information.
About changing labels, you can:
- use a custom language
or
- add a str_replace function to your theme files
bye
#3
Thanks for replying and helping Finley. I updated drupal to 5.6 from 5.3 and I'm still having the same problem. The error report occurs when I click on "read 'who love this page' list" in the user access control. Before I installed this module, I tried favorite_nodes and it had the same error.
I've tried this with different themes, but same problem.
I'm running
MySQL database 4.1.22, PHP 4.4.7
These are the modules I'm running.
Content, Content Taxonomy, Content Taxonomy Options, Date, Fieldgroup, Image, Link, Number, Option Widgets, Text
Aggregator, Blog, Color, Comment, Forum, Help, Menu, Path, Ping, Poll, Profile, Search, Statistics, Taxonomy, Tracker, Upload
Avatar Approval, SEO Checklist, Remember Me, Adsense, Adsense Injector, Akismet, BlockAnonymousLinks, Backup, Clone module, Comment Info, Date API, False account, Feedback, Global Redirect, 'me' Aliases, members, News Page, Node images, Node Review, Meta Tags, Page Title, Panels, User Referral, Safe HTML, Scheduler, Search 404, Simple News, Theme Settings API, Token, Word Filter
Referral points, userpoints 2.15, Userpoints Basic, Userpoints Reset, Role exempt, Views Integration
views, views ui
Voting API, fivestar
XML Sitemap, engine, nodes, term, user
Hope that's enough info. Let me know if you need more info and thanks for your help again.
#4
I tried reproducing the error with the modules on a local machine but nothing came up. Could there be a problem with php4 because my host uses php 4.4.7 and my laptop has php5?
#5
Hi,
php functions in this module did changed much from php 4.7 to php5.x
some suggestions for your case:
a) reinstall the module from a fresh downloaded tarball
b) check acl access configuration
c) configure correctly the module at the address yoursite/admin/settings/ilovethis
d) check the drupal error log
e) let me know. (good luck!)
Bye
#6
still doesn't work. this is what i did so far
a) did it
b) what is acl access configuration? I went and installed the ACL module http://drupal.org/project/acl if thats what you meant.
c) my configurations are: I love this Page Limit: 10, I love this Profile Limit:5, and type of display is set to table. I checkmarked the I wanted to enable Ilovethis on.
d) This is what i got in the log
Type form
Date Saturday, February 9, 2008 - 16:32
User admin
Location http://mysite/admin/user/access
Referrer http://mysite/admin/user/access
Message Illegal choice read \'who love this page\' list in 4 element.
Severity error
Hostname 69.230.96.200
Thanks again.