Database corruption after trying to reinstall Rules Module I was getting a database error when trying to op the Rules UI so I tried to reinstall the module. I uninstalled the Rules Modules and Rules UI module then tried to install the Rules module and now every page of the sites gives this error:

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &amp;#039;sgda_arcade.rules_config&amp;#039; doesn&amp;#039;t exist: SELECT base.id AS id, base.name AS name, base.label AS label, base.plugin AS plugin, base.active AS active, base.weight AS weight, base.status AS status, base.dirty AS dirty, base.module AS module, base.access_exposed AS access_exposed, base.data AS data FROM {rules_config} base WHERE (base.plugin = :db_condition_placeholder_0) AND (base.active = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] =&amp;gt; reaction rule [:db_condition_placeholder_1] =&amp;gt; 1 ) in EntityAPIController-&gt;query() (line 152 of /srv/arcade/sites/all/modules/custom/entity/includes/entity.controller.inc).

Additional

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &amp;#039;sgda_arcade.rules_config&amp;#039; doesn&amp;#039;t exist: SELECT base.id AS id, base.name AS name, base.label AS label, base.plugin AS plugin, base.active AS active, base.weight AS weight, base.status AS status, base.dirty AS dirty, base.module AS module, base.access_exposed AS access_exposed, base.data AS data FROM {rules_config} base WHERE (base.plugin = :db_condition_placeholder_0) AND (base.active = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] =&amp;gt; reaction rule [:db_condition_placeholder_1] =&amp;gt; 1 ) in EntityAPIController-&gt;query() (line 152 of /srv/arcade/sites/all/modules/custom/entity/includes/entity.controller.inc).


Is there anything I can do to fix this?
As it turns out the drive on which my database was installed had run out of disk space, so as JimaJamma suggested, the table could not be created by the rules module.