I'm not sure if this a media problem or a media gallery problem, but after upgrading both modules my gallery pages are blank.

I'm getting the following error in apache log files:

PHP Fatal error: Cannot redeclare media_file_default_displays_alter() (previously declared in /content/jukebox/project_jukebox/sites/all/modules/media/media.module:1058) in /content/jukebox/project_jukebox/sites/all/modules/media/media.file_default_displays.inc on line 61

I have the following media mods installed:

Media: 7.x-2.0-alpha3
Media Browser Plus for Media 2.x: 7.x-3.0-beta2+7-dev
Media Gallery: 7.x-2.x-dev

I'm not sure if the blank page is related to the PHP error.

Comments

Devin Carlson’s picture

Category: Bug report » Support request
Status: Active » Fixed

It looks like you you're using a mix of files from Media 7.x-2.x-dev and Media 7.x-2.x-alpha3 as the media.file_default_displays.inc file doesn't exist in the Alpha 3 release.

I'd recommend completely uninstalling and then reinstalling Media 7.x-2.x-alpha3.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.