Error en modulo Ctools

Desde la ultima actualización del modulo Ctools (que no funcionó) empezo a salir este error … «Update #6008
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘d.ctools_object_cache’ doesn’t exist: DELETE FROM {ctools_object_cache} ; Array ( ) in ctools_update_6008() (line 237 of /drupal/modules/ctools/ctools.install)»»


Desde la ultima actualización del modulo Ctools (que no funcionó) empezo a salir este error … «Update #6008
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘d.ctools_object_cache’ doesn’t exist: DELETE FROM {ctools_object_cache} ; Array ( ) in ctools_update_6008() (line 237 of /drupal/modules/ctools/ctools.install)»»

Leyendo cosas parece que este error viene arrastrado desde que subir el site de la versión 6 a la 7 … no esta clara la solución. Probé a desinstalar el modulo ctools (con todo lo que lleva detrás) y a volverlo a instalar y nada … mismo error.

Al final la única solución que he encontrado ha sido crear la tabla a mano … La estructura la saque haciendo drush sql-dump de otra instalación limpia de D7 que tenia a mano.

La estructura de la tabla es la siguiente:

CREATE TABLE `ctools_object_cache` (
`sid` varchar(64) NOT NULL COMMENT ‘The session ID this cache object belongs to.’,
`name` varchar(128) NOT NULL COMMENT ‘The name of the object this cache is attached to.’,
`obj` varchar(128) NOT NULL COMMENT ‘The type of the object this cache is attached to; this essentially represents the owner so that several sub-systems can use this cache.’,
`updated` int(10) unsigned NOT NULL DEFAULT ‘0’ COMMENT ‘The time this cache was created or updated.’,
`data` longblob COMMENT ‘Serialized data being stored.’,
PRIMARY KEY (`sid`,`obj`,`name`),
KEY `updated` (`updated`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT=’A special cache used to store objects that are being…’;

Asi la tabla se creó y dejaron de aparecer los errores … de momento.

https://www.drupal.org/node/1854508
https://www.drupal.org/node/1497210

Últimamente drupal falla mas de lo deseable … voy a empezar a plantearme seriamente migrar a wordpress.

Al final he tenido que crear otra mas …

DROP TABLE IF EXISTS `ctools_css_cache`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ctools_css_cache` (
`cid` varchar(128) NOT NULL COMMENT ‘The CSS ID this cache object belongs to.’,
`filename` varchar(255) DEFAULT NULL COMMENT ‘The filename this CSS is stored in.’,
`css` longtext COMMENT ‘CSS being stored.’,
`filter` tinyint(4) DEFAULT NULL COMMENT ‘Whether or not this CSS needs to be filtered.’,
PRIMARY KEY (`cid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT=’A special cache used to store CSS that must be non-volatile.’;
/*!40101 SET character_set_client = @saved_cs_client */;

Con las dos … y haciendo un update.php termina todo ok…