[support] error on contextual filters

Hummel, Tracey S - (thummel) thummel at email.arizona.edu
Fri May 18 23:12:38 UTC 2012


I ended up removing all node and user reference fields so that I could disable the references module.  After uninstalling user references, node references, and references and then reinstalling, views contextual filters now work correctly.  Unfortunately, I did not have a test and development environment setup yet since the site was not live.  Now I have to reestablish all those references.

Since I have to rebuild the relationships between nodes anyway, I may go with the Node Hierarchy module instead of node references.  I think it will work well for nodes but I'll still need to rely on the references module for user references.

Thanks,
Tracey


________________________________
From: support-bounces at drupal.org [support-bounces at drupal.org] on behalf of Linda Romey [lromey at gmail.com]
Sent: Friday, May 18, 2012 9:56 AM
To: support at drupal.org
Subject: Re: [support] error on contextual filters

Are all your other settings OK? For example, if you have a filter that isn't set correctly (i.e. missing the filter criteria) that could be the cause of the error message, not the contextual filter.


On Fri, May 18, 2012 at 12:19 PM, Hummel, Tracey S - (thummel) <thummel at email.arizona.edu<mailto:thummel at email.arizona.edu>> wrote:
The error I'm getting happens on views that do not have any relationships.  I tried creating new views that had nothing set but one field and a contextual filter with no options selected.  I still get the error.   Everything is up to the newest version.  I'm beginning to think it might be a contributed module that is causing the problem.

Thank you,
Tracey

________________________________________
From: support-bounces at drupal.org<mailto:support-bounces at drupal.org> [support-bounces at drupal.org<mailto:support-bounces at drupal.org>] on behalf of Joel Willers [joel.willers at sigler.com<mailto:joel.willers at sigler.com>]
Sent: Friday, May 18, 2012 9:05 AM
To: support at drupal.org<mailto:support at drupal.org>
Subject: Re: [support] error on contextual filters

It could be, but the 'Relationship' to which I am referring is standard in Views, if I remember correctly. It allows you to link to other tables or use a bit of a filter. So if you had Artist linked to Album linked to Song, you could use the Reference module with Relationships to have all songs from The Beatles show on the Beatles page. Further, you can link to file tables, user tables, etc. and have the album cover (with file size), User that uploaded it (with last login), etc.

The problem is, if you kill the relationship after you add fields (or filters, or sort criteria), you can really mess things up in the View, since it won't know how to relate all the items that it's trying to use.

Joel

From: support-bounces at drupal.org<mailto:support-bounces at drupal.org> [mailto:support-bounces at drupal.org<mailto:support-bounces at drupal.org>] On Behalf Of richard reyes
Sent: Friday, May 18, 2012 11:01 AM
To: support at drupal.org<mailto:support at drupal.org>
Subject: Re: [support] error on contextual filters

Hi Joel,

I thought relationship was a new module ?
On Fri, May 18, 2012 at 11:42 PM, Joel Willers <joel.willers at sigler.com<mailto:joel.willers at sigler.com>> wrote:
I've never seen that. Do you have updated versions of Drupal, Reference and Views3? You might have had a relationship, too, that was removed. That's really messes with Views, too.

Joel

From: support-bounces at drupal.org<mailto:support-bounces at drupal.org> [mailto:support-bounces at drupal.org<mailto:support-bounces at drupal.org>] On Behalf Of Hummel, Tracey S - (thummel)
Sent: Friday, May 18, 2012 10:12 AM
To: support at drupal.org<mailto:support at drupal.org>
Subject: [support] error on contextual filters

In drupal 7, I'm trying to create a very simple view with a contextual filter using a node reference field.  When I try to select 'apply', I get the error:  An illegal choice has been detected. Please contact the site administrator.

This happens without any options selected like: When filter value is not in the URL.  If I select "remove" it does not remove the contextual filter.  I've tried the same on several different views.  They all fail on the contextual filter.

Has anyone else seen the same thing?

Tracey


--------------------
Tracey Hummel
Web Application Developer
SBS Technical Services
University Services Building
888 N. Euclid, Room 302
PO Box 210158, Tucson AZ  85721-0158
520-626-3223<tel:520-626-3223>
tracey at arizona.edu<mailto:tracey at arizona.edu>
http://tshummel.com
--
[ Drupal support list | http://lists.drupal.org/ ]

--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120518/0319be16/attachment.html 


More information about the support mailing list