After updating to version 5x.1 i get this messege ?
No video content is editeble ?
It showing the video content and playing it.

Fatal error: Cannot redeclare video_cck_spike_info() (previously declared in /home/beterdan/domains/beterdan.nl/public_html/sites/bands.beterdan.nl/modules/emfield/contrib/video_cck/providers/ifilm.inc:7) in /home/beterdan/domains/beterdan.nl/public_html/sites/bands.beterdan.nl/modules/emfield/contrib/video_cck/providers/spike.inc on line 20

Comments

Anonymous’s picture

I just deleted the file spike.inc and the problem was solved.

henns20’s picture

thanks that worked - but weird workaround:)

steinmb’s picture

Drupal 5.9
Latest emfield module
I also got it and fixed it by removing spike.inc.

Is this the reason for the bug? http://www.clickz.com/showPage.html?page=3625348
Both spike.inc and ifilm.inc is defining "function video_cck_spike_info() {}" so my guesses is that the latest upgrade script of this module is failing in removing the outdated spike.inc.

I have looked into: contrib/video_cck.install but can't find any cleanup script of this mess. I have also looked into the CVS and spike.inc is no longer a part of the official install anymore. ifilm.inc was added 14 months ago.

--
steinmb

SabbeRubbish’s picture

Component: Miscellaneous » Code
Category: support » bug

Hi,
I had the same issue today, a while ago I updated all modules including CCK and Embedded Media Field. Obviously my spike.inc also got stuck. I am using Drupal 5.12 and CCK 5.x-1.10 and Embedded Media Field 5.x-1.3 (the currently latest stable versions - except for Drupal core).

Just to let you know that this is indeed still a problem. First only the Add/Edit video didn't work.
But after a few more page reloads, the entire site went down. The only thing returned was a blank page.

After commenting out the E_ALL in my .htaccess (showing all errors again), I got the Fatal error like you guys described here.

So: patch needed.

aaron’s picture

Project: Video CCK » Embedded Media Field
Priority: Critical » Normal

wrong issue queue.

aaron’s picture

Category: bug » support
Status: Active » Fixed

it's the other way around. you need to remove ifilm.inc, which is no longer included as a provider. when upgrading the module, remove the entire emfield folder and replace it with the new, which won't have that included.

Status: Fixed » Closed (fixed)

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