Posted by mikeytown2 on November 29, 2008 at 12:08am
| Project: | Restricted Search |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/search_block/search.admin.inc' (include_path='.:/usr/local/php5/lib/php') in /home/content/m/c/a/mcarper/html/D6/drupal-6.4/includes/menu.inc on line 346While going to this website
../admin/settings/search/main
Comments
#1
me too.
#2
The hook_menu defines a menu item at /admin/settings/search/main but there's no callback function provided. I can't find any candidates in the module. Is there supposed to be a search.admin.inc file in the module that maybe has been left off the CVS commit?
#3
attached patch removes the item, but I'm not sure what's supposed to be on this mystery admin page, because as far as I can tell, restricted search still works...
#4
It looks like the problem only occurs if you manually browse to admin/settings/search/main, which as far as I see isn't actually created by the module - though it could be by other modules like Admin Menu which query the menu system.
The above patch removes the task tabs, so it isn't going to work long term. The attached patch does two things:
Please test this patch and let me know how it goes. Thanks!
#5
At first glance here's what I think is happening... the main search module has "search.admin.inc". The author is trying to make the "main" search page from the core available under "main". Unfortunately the way it's coded it ends up looking for "search.admin.inc" in "/sites/all/modules/search_block" instead of "/modules/search" where it resides.
#6