Closed (won't fix)
Project:
Faceted Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2007 at 03:22 UTC
Updated:
26 Oct 2007 at 12:52 UTC
The xyz_facet modules call the search_query_extract() function, which requires search.module to be turned on. If search isn't turned on, faceted_search returns a white screen and the following php error:
[26-Oct-2007 13:17:12] PHP Fatal error: Call to undefined function search_query_extract() in /Users/jeffh/Sites/tribefly/sites/all/modules/faceted_search/author_facet.module on line 52
Comments
Comment #1
jeff h commentedApologies; seems a glitch occurred on my site whereby my faceted_search.module was turned off, but the sub-modules were on. Please delete this issue for me :)
Comment #2
David Lesieur commentedThe module dependencies are supposed to be set so that you can't enable faceted_search unless the search module is enabled. How could the glitch happen? Could the dependencies not be properly set in Faceted Search's .info files?
Comment #3
jeff h commentedI fear it may have happened somehow as follows: I had it installed and turned on, then removed this module's directory completely, then turned off search, then put this module directory back. Obviously not a deliberate series of events! :)
Comment #4
David Lesieur commentedAh! :) Not a common situation, but it can happen when we experiment with projects... We can't do much about it though. Of course we could check for the availability of search.module before calling its functions, but Drupal's dependency system is meant to relieve code from that kind of clutter.
Thanks for the detailed explanation!