Closed (fixed)
Project:
Media: YouTube
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 May 2011 at 20:18 UTC
Updated:
6 Jun 2011 at 21:11 UTC
Fatal error: Class 'FileStyles' not found in /home/hoslot5/public_html/sites/all/modules/media_youtube/includes/media_youtube.styles.inc on line 129
Comments
Comment #1
cakka commentedsame problem with me, i got :
Fatal error: Class 'FileStyles' not found in modules/media_youtube/includes/media_youtube.styles.inc on line 130
Comment #2
gosmart commentedSame here! (line 130)
Comment #3
effulgentsia commentedHow do you trigger this error? Is it from a fresh Drupal install, or an update? Which versions of Styles and Media modules are you using? If this was caused during an update, what versions were you updating from? When does the error occur (what page)?
Comment #4
bjlewis2 commentedI got this error immediately after installing the module using the dev versions of all the modules. When I clicked the button to save changes (enable modules) I got a white screen with this message.
If I hit refresh I am taken back to the modules list page, with no errors. Every time I enable new modules though, I get this error again.
Comment #5
effulgentsia commentedThanks for the info. I was able to reproduce the problem when Styles and Styles UI is enabled, but File Styles is not, which is now possible, because the dev version of Media no longer requires Styles. Fixed this bug by moving MediaYouTubeStyles class definition to its own file (see commit http://drupalcode.org/project/media_youtube.git/commitdiff/14db851?hp=e9...), which should not get invoked unless File Styles module is enabled. So now, whether or not File Styles module is enabled, this bug shouldn't happen.