Closed (cannot reproduce)
Project:
File Entity (fieldable files)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 14:07 UTC
Updated:
2 Jan 2013 at 18:09 UTC
Installed on drupal 7.8 ad 7.9 andreceived the following error after I check to install the media module
The website encountered an unexpected error. Please try again later.
When I go back and look at the module list I see the media module is unhecked.
Anything I can do to fix this? I need podcast functionality on my drupal 7 site fo audo mp3 files asap I did not know it was missingin drupal 7.
Thank you
Comments
Comment #1
Jim Ruby commentedHere is the error message I receive nowwhen I go to the front page of my site:
Error
Error message
PDOException
: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.type' in 'field list':
SELECT base.fid AS fid, base.uid AS uid, base.filename AS filename, base.uri AS uri,
base.filemime AS filemime, base.filesize AS filesize, base.status AS status, base.timestamp
AS timestamp, base.origname AS origname, base.type AS type, base.uuid AS uuid FROM
{file_managed} base WHERE (base.fid IN (:db_condition_placeholder_0, :db_condition_placeholder_1,
:db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4,
:db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7,
:db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10,
:db_condition_placeholder_11)) ; Array ( [:db_condition_placeholder_0] => 471 [:db_condition_placeholder_1]
=> 475 [:db_condition_placeholder_2] => 485 [:db_condition_placeholder_3] => 492
[:db_condition_placeholder_4] => 493 [:db_condition_placeholder_5] => 494 [:db_condition_placeholder_6]
=> 497 [:db_condition_placeholder_7] => 498 [:db_condition_placeholder_8] => 499
[:db_condition_placeholder_9] => 500 [:db_condition_placeholder_10] => 501 [:db_condition_placeholder_11]
=> 502 ) in
DrupalDefaultEntityController->load() (line 196
of
/home/example/public_html/access/includes/entity.inc).
The website encountered an unexpected error. Please try again later.
Comment #2
erikwebb commentedIt appears your File module's tables aren't installed correctly. If you uninstall Media, uninstall File, and try again, does the error happen again?
Comment #3
Jim Ruby commentedYes, it does, I even went back to the backup db before I installed anything with the media module and still the same thig.
Comment #4
Jim Ruby commentedAnyone else have any suggestions? I really need to get podcast content and enclosures working asap and everything I try either don't work or won't install. bumbed.
Comment #5
erikwebb commentedThe
file_managed.typecolumn is actually added by the File Entity module, so this isn't actually a Media problem at all. Redirecting to their issue queue for help.Comment #6
dave reidComment #7
johnvI have the same error , and found that recreating the indices was the root of all evil. See below.
My table file_managed already has field 'type' and index 'file_type', as a remains of an old Media-module experiment.
I ended up removing the part of creating an index in 'type' , and blame $indexes_new.
This page says to explicitly drop the index, before recreating it. That is not done in the code.
Comment #8
dieppon commentedI have almost the same problem with EntityReference and the solution in the thread works. Im not sure if this could help you but it might point you in the right direction.
http://drupal.org/comment/reply/1309704
Thanks
Comment #9
devin carlson commentedFile entity has had a number of releases since the original issue report and I haven't been able to duplicate any installation problems.