How to resolve the "Invalid selection" error in Drupal 6

Drupal tells me the error message: "Illegal selection was detected. Please contact site administrator" at the site: http://naplesres.designbracket.com Worse, this error prevents me from logging into the site. Every time I enter uname / pwd of any of the users, it throws an error. (I double checked that there are no password changes by checking in the user table in the database)

The root of the error, I think, lies in the "Find your local coupons" block on the left sidebar. This search was created by displaying a view filter, and the values ​​in it are what should be causing the error. However, the site cannot be logged in despite the correct password is puzzled. Please help THANKS

+2


source to share


3 answers


For future reference: If this block is causing this problem, try disabling it from the database. The same can be applied to modules that are causing problems.

You can disable blocks in the "blocks" table, set status = 0 and region = ''



The modules are in the "system" table, just set status = 0 to disable it.

They saved me a lot of time when they tried to execute incomplete modules or even did something wrong in the ones I am coding.

+1


source


I was able to resolve the error. It was more of a hit than logic. The hardest part is getting into the site. Despite resetting the password again at the database level, I was unable to log in. So I hit the prompt for a new password and used the 1 hour URL to login to the site and reset the password.



The root cause of the error has to do with a view that fetched values ​​based on a CCK picklist. Changed the valid values ​​in the CCK select list; which I believe caused some conflict. Saving the view again automatically fixed the error.

+1


source


I ran into this problem when I was just trying to create a page or block: Drupal was displaying an illegal choice - contact administrator form error. I found that this was because my installation did not include "Input Format" by default, and my attempt to create a new page was unsuccessful due to an empty radio button. Once I set it to "Filtered HTML", I stopped getting the error. You can set the default input format by going to Administration> Site Configuration> Input Formats.

Also, double check the user rights. For some reason, my installation did not give full admin rights, so I created a new admin role and gave me full permissions.

0


source







All Articles