(Not a duplicate of the 'prefix' temp_search_sids issue, to my understanding, as I'm not using prefixes anyway.)
Table 'cv_drupal.temp_search_sids' doesn't exist query: SELECT MAX(relevance) FROM temp_search_sids in /includes/database.mysql.inc on line 124.
If there are no results returned from search_index during the CREATE TEMP TABLE query, a watchdog SQL error is logged because the temp table doesn't exist.
Type php
Date Sunday, 12 February, 2006 - 19:01
User Guest
Location /search/node/adult
Referrer /search/node/xxx
Message Table 'cv_drupal.temp_search_sids' doesn't exist query: SELECT MAX(relevance) FROM temp_search_sids in includes/database.mysql.inc on line 124.
Severity error
Hostname [removed]
The code, at line 843 of search.module ($Id: search.module,v 1.159 2006/01/22 07:43:19 dries Exp $) needs to check to see if the table exists before executing the query on line 846. (Or at least use an @ to suppress the error)
Comments
Comment #1
Signe commentedI'm a dumbass. It is the permissions failure for CREATE TEMP TABLE, however the issue still stands. If the table creation fails the code doesn't check for that failure and just blindly continues.
Comment #2
RaRi commentedmmh .. guess I need to wait for an update ..
Comment #3
ckclarke commentedI'm getting this error as well on RC1; I notice also that the site indexing is not working, even if I manually ask it to reindex the site. It's still reporting 22 items not indexed.
Comment #4
killes@www.drop.org commentedYou need "CREATE TABLE" permission for your mysql user.
Comment #5
Lappie commentedActually, you'll need 'CREATE TEMPORARY TABLE' permissions. See this reply by Killes elsewhere.