PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DATABASENAME.image_dimensions' doesn't exist: SELECT * FROM {image_dimensions} id WHERE id.fid IN (:fids_0); Array ( [:fids_0] => 444 ) in file_entity_file_load() (Zeile 225 von /DRUPALROOT/sites/all/modules/media/file_entity/file_entity.module).
Same for me, after the update to Media 7.1.4, that I did following PSA-2014-001.
Seems that something is broken in this update.
The file_entity_module has changed, and is the update.php did not triggered the update_7101. Therefore, the image_dimensions table is not created
In the system table, schema_version column for file_entity is set to 7215.
One solution is to set it to 7100, and re-run the update.php :
update system set schema_version = '7100' where name = 'file_entity';
Seems there is a collision with Media 2, which uses File_entity 7.2.x
Edit: after analysis, the root cause was that I first installed file_entity, but then I installed Media 7.1, which brings its own File Entity stuff. I had to disable / desinstall File entity, and then re-enable Media.
- Log in to post comments