I am trying to use the Search Files API with another module that is not part of Search Files. So I enabled Search Files API but neither of the sub-modules.

When I try to visit the main Search Files API menu page (path admin/settings/search_files), I get the following error:

Fatal error: Call to undefined function search_files_variable_get_directoryrescanage() in /opt/www/drupal-6.13/sites/all/modules/search_files/search_files.module on line 83

The problem is that this function is in module search_files_direcotries, not in search_files. So it shouldn't be called from the Search Files API page.

Comments

thl’s picture

Assigned: Unassigned » thl
Status: Active » Fixed

Fixed in Beta3
usability: rearrange menus and split dashboard into independent code pieces grouped by module. This is a prerequisite for enabling/disabling the modules individually
see
search_files.module release 1.19.2.14
search_files_attachments.module release 1.1.2.11
search_files_directories.module release 1.1.2.14

thl’s picture

Status: Fixed » Closed (fixed)