Hi, I've almost read all the posts about reindexing the database.

But I can't re-index my database. And I really can't find a way to do it. Searched all the admin pages ect.

When I try to do a manual reindex by index.php?q=admin/search/reindex then I get the following error

warning: call_user_func_array() expects first argument, 'admin_admin', to be a valid callback in C:\Program Files\Ensim\SiteData\webppliance\conf\domains\dpoy51\Inetpub\wwwroot\nieuws\includes\menu.inc on line 108.

Please help?

Gert

Comments

matt westgate’s picture

Search indexing is controlled by the update_index hook and cron.php. To index a Drupal site, access cron.php with a browser.

And to re-index the search database from scratch, delete the comment_cron_last, node_cron_last, and comment_cron_last records from the variables table. These timestamps are what prevents Drupal from rebuilding the entire search index on every cron call. Large sites may experience timeout errors performing this action, and it is not wise to do his if there is nothing wrong with your search index.

gertjan-1’s picture

I allready changed the value in those fields but that didn't work. Or I did something wrong with the Cron

Strange that there was no article in the forum about it.

Best regards
Gert,

stevew’s picture

Actually, it is better to just set the timestamps in those variables back to zero, rather than delete them. Remember that the variable includes the length of the number, so you can change it to '0000000000' and go from there.

emdeex’s picture

Remember to check that the node Status is "1" and the Moderate is "0", otherwise nodes will be excluded from the index.