I've been performing the 3/4/15 security update on various sites, some using 7.3 and other using 7.4. On a site with 7.30, I get the error below when I try to upgrade to 3.22 using drush (identifying text replaced with [db] and [site] placeholders).

This is occurring only on this particular site, although I have a few more to go - otherwise, the updates have proceeded without incident.

Any ideas? Thanks in advance...

WD menu: PDOException: SQLSTATE[42S02]: Base table or view not found:[error]
1146 Table '[db].cache_page' doesn't exist: DELETE FROM
{cache_page} 
WHERE  (expire  :db_condition_placeholder_0) AND (expire <
:db_condition_placeholder_1) ; Array
(
    [:db_condition_placeholder_0] => 0
    [:db_condition_placeholder_1] => 1425562728
)
 in cache_clear_all() (line 167 of
/home/[site]/public_html/includes/cache.inc).
SQLSTATE[42S02]: Base table or view not found: 1146 Table            [error]
'[db].cache_page' doesn't exist
Backups were restored successfully. 

Comments

DanChadwick’s picture

Category: Bug report » Support request
Status: Active » Fixed

You database is missing the cache_page table, which is a core table, having nothing to do with webform. Make sure your database has this table before running the update.

bcobin’s picture

Thanks, Dan - both for the guidance and for the quick response.

You were correct - I exported the offending DB (which did, indeed, show an error upon checking) and imported it into a new database, into which I imported the missing table from an intact database. The upgrade ran perfectly and now everything's fine.

Very disturbing, though - all I can think is that something went amiss a while back when the site was upgraded from D6… yikes!

Greatly appreciated… thanks again!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.