After installing (Search was configured) everything looks OK, but trying to access the search configuration menue generates:
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/search_block/search.admin.inc' (include_path='.:/usr/share/php') in /home/www/vtad/includes/menu.inc on line 346
admin/settings/search can be accessed again after uninstalling restricted search.
Comments
Comment #1
loze commentedI also get this error.
Comment #2
liliplanet commentedsame here, re-installed search_block, but still no go. It was working perfectly before :)
Comment #3
grantkrugerI get this error on admin/settings/search/main, but not on admin/settings/search. Earlier I had the same problem as the guys above. I'm not sure what changed.
Comment #4
amaria commentedIf anybody is still struggling with this....
the search module added an admin.inc file, but it does not propagate down to search_block. To fix, create a module (or use one of your existing modules) and add a hook_menu_alter function to add the file to the menu settings. Here's how I did it...
Enable your module if necessary and the error should disappear. If not, clear the menu cache.
Comment #5
deviantintegral commentedI'm marking this as wontfix to clean up the queue as http://drupal.org/project/search_restrict is a much better solution.