"An illegal choice has been detected. Please contact the site administrator."
This is what comes up when I try change the access control's for Table Manager...any idea why?
"An illegal choice has been detected. Please contact the site administrator."
This is what comes up when I try change the access control's for Table Manager...any idea why?
Comments
Comment #1
pobster commentedHmmmm I've absolutely no idea what that's all about... Please could you provide:
Your table manager version - from the line at the top of the module that looks like this:
And then if you could please write a little bit about:
If updaing fixes your problem PLEASE POST to let me know. There's nothing worse than me thinking I have a problem when it's something I've already noticed and fixed...
Thank you
Pobster
Comment #2
Anonymous (not verified) commentedToday, I was switching my site and database over to a new host. Before I was using a free one that had limitations. I no longer have that error message. As a result, I am assuming that the errors were being formed as a result of my host not allowing certain permissions.
Comment #3
pobster commentedIf that were the case then nothing would work properly not just my module? I don't do anything differently to anybody else with regards to the access page? In fact mine is nigh on identical to how the flexinode module works...
I'll close this ticket, but I'm not overly happy that this problem is fixed... (Mind you, I'm also not convinced that the problem is with my module!)
Pobster
Comment #4
pobster commentedComment #5
Anonymous (not verified) commentedOkay, I have the problem again. Guess you were right before.
// $Id: tablemanager.module,v 1.41 2006/06/12 21:21:52 pobster Exp $
I am using mysql 4.1 and php.
I have 3 tables:
Mall Openings:
Mall Name Largest Shop in Mall Owner of Mall Positions Open
looking for a mall:
Username Shop size Willing to Stock Prefer to Stock
r99 owner list:
r99 owner
No data in any of them.
I have no idea what you can do to replicate the problem. I simply try to set Access Controll and it won't let me.
Comment #6
Anonymous (not verified) commentedOh yea and I CAN check/uncheck the following:
administer tables
list tables
But CAN'T check/uncheck these:
create 'Mall Openings' content
create 'looking for a mall' content
create 'r99 owner list' content
edit any 'Mall Openings' content
edit any 'looking for a mall' content
edit any 'r99 owner list' content
edit own 'Mall Openings' content
edit own 'looking for a mall' content
edit own 'r99 owner list' content
Comment #7
pobster commentedI'm still not entirely convinced that the problem stems from my module, but I do (now) know that I've messed up some of my access restrictions. As to whether this would cause your issue... I doubt it... But then again, what do I know ;o)
Could you try this version of tablemanager.module:
http://www.ciclosuno.com/tablemanager.cvs
Now bear in mind that this is a development version and so is a little bit suspect about working correctly... I'd suggest that if it solves your issue, you let me know but still go back to using the old version temporarily until I can release a fix (which will still be today).
Pobster
PS. If you trust me, I'd love to take a look at your site and tablemanager for myself ;o) You can contact me through Drupals contact form (if you want, I won't be offended if you're not keen!)
Comment #8
pobster commentedHmmmm... http://drupal.org/search/node/An+illegal+choice+has+been+detected.+Pleas....
Okay... I'm coming up with a theory... Is the user who is getting these error messages NOT the root user? ie. NOT user 1?
If not, then I dunno :o( Perhaps you could list all the other modules you've got enabled for your site?
Pobster
Comment #9
Anonymous (not verified) commentedHey, your first link did not work "Requested Page Not Found". That's for the Beta version of tables mangager.
Comment #10
pobster commentedHmmmm that's because I posted it 12 hours ago and thought you'd have got it by now ;o)
Try:
http://www.ciclosuno.com/tablemanager.cvs2
Pobster
Comment #11
Anonymous (not verified) commentedOh and not sure if this is any better of an error...what shows up in error log:
Illegal choice create \'Mall Openings\' content in 2 element.
Illegal choice edit own \'r99 owner list\' content in 2 element.
Illegal choice create \'looking for a mall\' content in 2 element
etc
And yes, I am doing this from the root user, user 1.
Comment #12
Anonymous (not verified) commentedOh and newbie question here, what do I do with a CVS file, what's it for?
Comment #13
pobster commentedJust rename your module file to tablemanager.module.bak or whatever, then put the cvs file into the folder and rename it to tablemanager.module and then perhaps empty your cache (just for fun!)
Let me know how it goes...
Pobster
Comment #14
Anonymous (not verified) commentedAlright, I put it in...unfortunitly it didn't work.
Comment #15
pobster commentedAre you still using version 1.41 btw? That's waaaaay old now if you are...
I'm wondering whether you may be having problems regarding the use of apostrophes in the access settings... I've not come across this before though? Only that your error logs show them escaped like this /' /' just a thought...
Do you know what version of php you're using? And also what operating system you're using?
Pobster
Comment #16
Anonymous (not verified) commentedhere, I sent you an email, let me know.
Comment #17
pobster commentedFixed in version 1.58 problem with encoding escaping apostrophes in user permissions. They're not required, only there for neatness so I just removed them.
Pobster
Comment #18
pobster commentedComment #19
pobster commented