Fatal error: Cannot redeclare emvideo_archive_info()

I'd like to roll a release of media_archive that will work against the current recommended emfield (which according to the emfield home page is 6.x-1.18). I was under the impression that the duplicate media_archive video provider added by aaron wouldn't conflict with the recommended version of emfield. Since there a decent number of media_archive users now I don't want to put out an official release that will break their sites.

Is 6.x-1.18 supposed to be the recommended version? Looks like there are many more recent versions (6.19, 6.18, etc.)

Comments

aaron’s picture

I thought I'd refactored that function, but apparently didn't, and/or hadn't tested it properly. Terribly sorry about that -- I'll fix that by Wednesday, by refactoring the emfield_system_list function to work more intelligently; it needs an overhaul anyway. I suppose as well that having two branches for Media: Archive is probably best as well; in case folks don't update to Emfield D6-1-20 or whatever branch.

aaron’s picture

Assigned: Unassigned » aaron
aaron’s picture

Priority: Normal » Critical
aaron’s picture

Status: Active » Fixed

fixed. sorry about that; will build a new release in a moment...

winston’s picture

Status: Fixed » Active

Aaron,

I'm sorry, but I don't think this is fixed after all. Just did a fresh drupal install, then fresh emfield/emvideo/emaudio install (latest 6.19), then fresh media_archive install.

As soon as I did the media_archive install I got the same exact error as above.

Is there something I need to do in media_archive to ensure it picks this up correctly and overrides the built in archive video provider from emfield? If so, feel free to move this issue to the media_archive queue.

pkej’s picture

winston,
Could it be that you have downloaded the media_archive module and enabled it? That was the reason for the problem in my install.

winston’s picture

Am I not supposed to download the media_archive module and enable it? My understanding from aaron is that the code in emfield is designed to use the media_archive code in preference to the emfield media_archive video provider.

Actually aaron added the media_archive video provider to media_archive himself.

pkej’s picture

my mistake then! i just noticed media archive was available even with out the media module.

nedjo’s picture

Version: 6.x-1.18 » 6.x-1.x-dev
Status: Active » Closed (fixed)