Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2008 at 22:03 UTC
Updated:
23 Nov 2009 at 02:20 UTC
Hello,
I'm using drupal 5.3 and video module 5.x.1.x-dev. When users try to upload a video, this error occurs:
Fatal error: Cannot redeclare _video_common_get_player() (previously declared in /var/www/drupal2/modules/video/includes/common.inc:18) in /var/www/drupal2/modules/video/includes/common.inc on line 51
Any help?
Thank you,
Troiana
Comments
Comment #1
Helenag commentedHelp anyone?
I don't understand this... I was thinking that maybe it was a incompatibility with modules that I installed after this one, but I removed them and the error stays :-S
And the fact that it says that it is redeclaring the function inside the function, how is it possible?
Comment #2
Schneewittchen commentedSame problem here!
Sometimes it works without an error and sometimes i get this error message with exactly the same lines.
If i upload the video (.mov) i can´t see the player only only the text and downloadlinks etc. and when i want to go to the category (made with views) where it is stored i get this message. I can´t open the category with the videos in it so i have no access to all the videos in this category. If I use the Youtube Video it works without errors. I used a patch before for manual resize (http://drupal.org/node/231790) of videos but that can´t be the reason because before i got this message too from time to time.
I can´t use the video-module if it works like that :( Made also a videotype with CCK but i don´t know how to show a player with it.
Help please
Schneewittchen
Comment #3
hostilemonkeys commentedDoes replacing the instances of "include(" within the video module files with include_once(" help ?
Comment #4
Helenag commentedsorry but how do I do that within the code above?
thank you for your help.
Troiana
Comment #5
hypertext200Comment #6
johnhanley commentedI just encountered this error while implementing the video module on a legacy Drupal 5 web site.
The above error is caused at line 622 in video_upload.module:
Should be changed to:
Comment #7
hypertext200I'm looking forward to port
Comment #8
hypertext200