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

jeff h’s picture

Apologies; 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 :)

David Lesieur’s picture

The 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?

jeff h’s picture

I 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! :)

David Lesieur’s picture

Status: Active » Closed (won't fix)

Ah! :) 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!