Upgrade #6000 -- can't find cache_views_data table
bomarmonk - June 13, 2009 - 05:45
| Project: | Viewfield |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
In the error log I get the following message when trying to upgrade to the latest development release: Table 'db280861671.cache_views_data' doesn't exist query: DELETE FROM cache_views_data in /homepages/16/d279906965/htdocs/flush/includes/cache.inc on line 172

#1
I'm getting the exact same error. Seems that the table does not exist (per the error). This occurs whenever running the Flush Cache Tables command.
Where does Drupal store information about these cache tables? Is there a registry somewhere that says to look for this table? Here's the snippet of code that's causing the error.
else {
// No minimum cache lifetime, flush all temporary cache entries now.
db_query("DELETE FROM {". $table ."} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
}
#2
I'm getting the exact same error. Seems that the table does not exist (per the error). This occurs whenever running the Flush Cache Tables command.
Where does Drupal store information about these cache tables? Is there a registry somewhere that says to look for this table? Here's the snippet of code that's causing the error.
else {
// No minimum cache lifetime, flush all temporary cache entries now.
db_query("DELETE FROM {". $table ."} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
}
#3
Fixed:
per http://drupal.org/node/500742
Downgraded to rerun version 6 to create the missing table.
Closing this issue.