I try to save the Google API key and got an error message:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'whyagel.cache_entity_tmgmt_translator' doesn't exist: DELETE FROM {cache_entity_tmgmt_translator} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 2 ) in cache_clear_all() (line 163 of /Users/shaisamuel/Sites/acquia-cloud-dev/shaisamuelgm/docroot/includes/cache.inc).

It might be that I added the cache_entity after tmgmt was already installed. Anyway, it looks like it will be good if you can check it again when updating.

If you can please supply a solution it will be great.

Thanks,

Shai

Comments

shaisamuel’s picture

I just deinstalled entitycache (turn module off + uninstall), and check that it remove all tables of entity_cache_... After turning on the module, it rebuilds the tables, but just the followings:

  • cache_entity_comment
  • cache_entity_file
  • cache_entity_node
  • cache_entity_taxonomy_term
  • cache_entity_taxonomy_vocabulary
  • cache_entity_user

My guess, is that somehow, tmgmt doesn't expose itself to entitycache. So either you build them yourself (at any time) or you do the exposure.

I just went over the process of deinstalling and reinstalling the tmgmt module a day ago, but it didn't build these tables.

Please your advise.

shaisamuel’s picture

Status: Active » Closed (works as designed)

With alpha3, I deinstalled and installed again all the tmgtm, and the table was created.

pmol123’s picture

I had a similar problem when my disks filled up on Google Cloud.
(thus creating all kinds of problems)

After ReSizing my disks/partitions, the following steps worked for me.

Step 1:

Disable and Uninstall the EntityCache module.

Step 2:

For each of the following tables.

  • cache_entity_comment
  • cache_entity_file
  • cache_entity_node
  • cache_entity_taxonomy_term
  • cache_entity_taxonomy_vocabulary
  • cache_entity_user

Run the SQL command:
"DELETE {TABLENAME}"

Step 3:

ReInstall the EntityCache module.

Step 4:

Flush Cache

THEN

Repeat Steps 1-4 for each Drupal Site having this problem.

Respectfully,

Patrick Michael O'Leary
http://www.ExpertWitness.com