On this page
Troubleshooting
Last updated on
30 April 2025
For the time being, this module requires Clean URLs.
Missing blocks
If you have custom block visibility settings on any of your search-related blocks, you must make sure the block is configured to be shown on 'search/apachesolr_ajax'.
Missing JavaScript files
If this module's JavaScript and/or CSS files are not added to your page, you may have to implement a MYTHEME_preprocess_page() function:
function mytheme_preprocess_page(&$vars, $hook) {
$vars['head'] = drupal_get_html_head();
$vars['scripts'] = drupal_get_js();
$vars['css'] = drupal_add_css();
$vars['styles'] = drupal_get_css();
$vars['closure'] = theme('closure'); // Newly needed for v1.11
}
In some cases, template_preprocess_page in theme.inc is run before apachesolr_ajax_preprocess_page(), and so the JavaScripts files are not added. This is the fix.
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion