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
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

jubamaculele - July 21, 2009 - 02:25
Title:Upgrade #6000 (to latest development release) causes error-- upgrade aborted» Same issue

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

jubamaculele - July 21, 2009 - 02:26
Title:Same issue» Upgrade #6000 -- can't find cache_views_data table

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

jubamaculele - July 21, 2009 - 02:31
Status:active» closed

Fixed:
per http://drupal.org/node/500742
Downgraded to rerun version 6 to create the missing table.

Closing this issue.

 
 

Drupal is a registered trademark of Dries Buytaert.