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
Comment #1
aaron commentedI 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.
Comment #2
aaron commentedComment #3
aaron commentedComment #4
aaron commentedfixed. sorry about that; will build a new release in a moment...
Comment #5
winston commentedAaron,
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.
Comment #6
pkej commentedwinston,
Could it be that you have downloaded the media_archive module and enabled it? That was the reason for the problem in my install.
Comment #7
winston commentedAm 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.
Comment #8
pkej commentedmy mistake then! i just noticed media archive was available even with out the media module.
Comment #9
nedjoSee also #725940: Cannot redeclare provider files when enabling media: provider modules.
To preserve the work done here on emfield, I've moved the remaining bug to #869814: Address duplicate function error: Remove video from 6.x.1.x branch.