Hello there!

I've just upgraded from d5.23 to d6.22. All modules inactive (except Taxonomy because of the Forum module issue). Did the update and got this:

* user warning: Table 'db_name.cache_block' doesn't exist query: DELETE FROM cache_block WHERE expire != 0 AND expire < 1320801507 in /includes/cache.inc on line 165.
* user warning: Table 'db_name.cache_block' doesn't exist query: TRUNCATE TABLE cache_block in /includes/cache.inc on line 171.

any ideas?

Thanks,

Comments

john_b’s picture

It might sound odd, but I would look at your updated db in phpMyadmin for cache_block and if it does not exist, just create it, I guess using same collation and same engine settings (probably MyIsam) as the rest.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

MashsaM’s picture

Got it!

Creating a blank table wouldn't work (the second part of the error would persist), but i just copied the structure from the cache_menu table (wich I assumed would be the most similar).

The error is gone and the site appears to be OK now. Thanks for the tip!