Closed (fixed)
Project:
D7 Media
Version:
7.x-1.0-beta1
Component:
Miscellaneous
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 14:52 UTC
Updated:
11 Apr 2011 at 07:34 UTC
Hi
1. Enable media module 7.x-1.0-beta1 - first time
2. I get a lot of errors about file permissions so I do chmod 755 on all files in media module folder.
3. Error - GD is not enabled in PHP
4. Enable GD in PHP and restart Apache
5. Enable media module 7.x-1.0-beta1 - second time
Now I get this error:
DatabaseSchemaObjectExistsException: Table media_type already exists. in DatabaseSchema->createTable() (line 621 of /home/tps/data/data/d7/drupal-7.x-dev/includes/database/schema.inc).
I might have taken a wrong path installing the media module but now it seems I am stuck.
Any help would be appreciated.
Thanks
Thomas S
Comments
Comment #1
JacobSingh commentedHi Thomas,
Thanks for the report, I'm renaming the issue to articulate the actual problem that media should do a requirements check before installing via hook_requirements.
In your case, it got 1/2 way done installing, and then died due to lack of requirements. You tried to install again, and hit the error. You'll have to either manually clear out any media related tables or re-install Drupal and enable media probably.
You did have a backup before adding an unstable D7 module right? ;)
Best,
Jacob
Comment #2
JacobSingh commentedComment #3
JacobSingh commentedI think this is fixed because media requires image module which checks for these things. Please confirm