I have received following error on my website after I acted to update database.
Original
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.access_exposed' in 'field list': 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] => reaction rule [:db_condition_placeholder_1] => 1 ) in EntityAPIController->query() (line 152 of /home/diamonds/public_html/d/sites/all/modules/entity/includes/entity.controller.inc).
Additional
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.access_exposed' in 'field list': 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] => reaction rule [:db_condition_placeholder_1] => 1 ) in EntityAPIController->query() (line 152 of /home/diamonds/public_html/d/sites/all/modules/entity/includes/entity.controller.inc).
Comments
Comment #1
Anonymous (not verified) commentedassigning to the right project.
Comment #2
sam mooreAfter running drush pm-update (after a core upgrade), I got this too.
On a hunch - based on some other postings elsewhere - I then ran drush updatedb - which turned up a whole passel of unapplied updates (I thought pm-update was supposed to do DB updates too...?)
I ran those, and that got the site working - but then I got this warning:
Warning: require_once(sites/all/modules/entity/includes/entity.inc): failed to open stream: No such file or directory in _registry_check_code() (line 3046 of includes/bootstrap.inc).
Flushed all caches, and that warning went away.
Looks like just a messy upgrade...?
Anyway hope this helps...
Comment #3
qsurti commentedHow do I flash all caches as I am not able to login in at all. Can I do it from phpMyAdmin? What tables shall I clear up?
Comment #4
qsurti commentedThe authors of DRUPAL should consider opening sites on safe mode if some small, trivial or drastic goes wrong with the script. One does not need to wait for days for help to arrive to get the site up and running again. My site is down since I posted this issue on 24th April and I don't know where to go or how to run this program. :(