When upgrading from Drupal 4.7.x to 5.x, this is quite a common error. System upgrade #12 creates the "cache_views" table, but if this table was already created in a 4.x-dev release, the update will not be run again and you will see these errors pour all over your screen after attempting an update.
The quick fix is to run the code segment below to manually create the cache_views table. Access your database and execute the following mySQL query:
CREATE TABLE cache_views ( cid varchar(255) NOT NULL default '', data longblob, expire int NOT NULL default '0', created int NOT NULL default '0', headers text, PRIMARY KEY (cid), INDEX expire (expire) ) /*!40100 DEFAULT CHARACTER SET UTF8 */;
All Content © 2005 - 2009 Contract Web Development, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Powered by Drupal
Worked a treat
Thanks - this worked fine for me ...