Closed (fixed)
Project:
Video Upload
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 12:03 UTC
Updated:
29 May 2010 at 13:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
jhedstromAre there any errors in watchdog?
Comment #2
j0rd commentedYa, I'm getting the same issue.
Here's the snippet from the Apache Logs.
PHP Fatal error: Call to undefined function filefield_default_value() in htdocs/sites/all/modules/video_upload/video_upload.module on line 365
from a quick browse in the filefield code, I couldn't find the replacement. I've posted a message on this imagefield issue, to try and get an answer.
Comment #3
j0rd commentedHere's the patch where it was removed, it might provide some guidance.
http://drupal.org/files/issues/filefield_imagefield_untangle_1.patch
Comment #4
drewish commentedThe correct issue would be #397578: Uncouple ImageField from FileField Custom Hooks. Needed to make some big changes to filefield to get it stabilized for an official release.
Edit: Corrected my typo of Need -> Needed
Comment #5
thatONEjustin commentedMy video_upload module was working last week, and now I'm getting this error as well. What happened? I was using the most current FileField, and there have been no updates to either module.
We're launching soon and video uploading was the core function of the site. Please any help would be appreciated.
Comment #6
thatONEjustin commentedthis is the error I'm receiving:
Fatal error: Call to undefined function filefield_default_value() in path/to/modules/video_upload/video_upload.module on line 365
with the following code:
function video_upload_default_value(&$form, &$form_state, $field, $delta) {
$items = filefield_default_value($form, $form_state, $field, $delta); // THIS IS LINE 365.
module_load_include('inc', 'video_upload', 'video_upload_widget');
foreach ($items as $delta => $item) {
$items[$delta] = array_merge($item, video_upload_widget_widget_value(array(), FALSE));
}
return $items;
}
Comment #7
thatONEjustin commentedoh wow. Thank you j0rd, rolling back to this is what just pulled me out of the fire. Thanks again.
Comment #8
jhedstromFor all people getting these errors after upgrading, I would recommend rolling back to the earlier version of filefield. Once the module has stabalized, I'll roll a new version of video upload that matches the stable api.
Comment #9
quicksketchjhedstrom, please don't recommend "rolling back" to a previous version of FileField. This is going to cause unexpected upgrade troubles when a user upgrades to beta3, runs update.php, then downgrads to an alpha version. Since the updates have already been run once, they won't be run again when the stable version comes out. Now the user has a database in an unexpected state.
I apologize for the drastic changes to FileField, but there was no way I could release the module in its previous state. I'm working on getting out a final release in the next 2 weeks, there aren't going to be any more API changes between now and then.
Comment #10
jhedstrom@quicksketch, that's an excellent point regarding the rolling back; db updates slipped my mind when I posted this faulty advice.
@all people currently having this problem, I'll try to get a new version out as quickly as possible. Sorry for the delays.
Comment #11
quicksketchThanks jhedstrom!
Comment #12
j0rd commentedIf anyone did downgrade (like i did) and lost imagefield "edit node" thumbs in that process... you can download my helper module to regenerate them.
http://drupal.org/node/336264#comment-1379868
Comment #13
aonorati commentedHi guys, I am having the same problem. So which version of ImageField should we use in order for this to work?
Thanks
Andrea
Comment #14
jhedstromI've just updated the dev branch to match the updated FileField API. I'll release a new stable version once I test this a bit more.
Comment #15
scandi commentedfilefield 6.x-3.0-rc1
video_upload 6.x-1.x-dev
When I add node can see a white screen.
And have all the video settings.
Comment #16
jhedstrom@scandi,
Sorry, I should have mentioned that this will only be available after the automated packaging script runs, which happens twice a day for dev releases. To try the new code immediately, you can pull the module out of CVS.
http://drupal.org/node/251322/cvs-instructions
Comment #17
scandi commentedFiles more 9Мб are orphaned.
Comment #18
livekamaaina commentedJust posting a reply and hope that this forum will notify me automatically when it is updated.
Comment #19
happydrupal commentedI'm getting the same issue with "filefield" 6.x-3.0-rc1 and looking forward to the update.
Comment #20
netbear commentedHello,
I'm update the filefield module because I was needed default images on my site and after that when I submit a node with video_upload field I'v got an error:
Referencing to the file used the Videofile field is not allowed.
I check ftp and see, that file is uploaded on the server, but on youtube is not.
Also I decide to change width and height of thumbnail image and didn't find how to do it.
So my question: Is this is the same problem with filefield changes or this is something different? Thanks.
Comment #21
happydrupal commentedI can not see the video node page before when I click the create node. After upgrade filefield to the fresh new 6.x-3.0 version, I can go to the new video node page with the video upload field.
But the video didn't upload successful after I click upload with warning message: "Video status is unknown. This most likely means it has not yet been processed." However, this node can be saved as a new node without video. Any clue??
Comment #22
happydrupal commentedWhile click on the upload, I can see the rotating timer. But nothing happen after the rotating timer had gone. Any clue?
Comment #23
happydrupal commentedWhile click on the upload, I can see the rotating timer. But nothing happen after the rotating timer had gone. The video size is under the upload limit. Any clue?
Comment #24
happydrupal commentedIn Administer » Content management » Manage Video Uploads, I can see two videos.
The video directly uploaded from Youtube with link to Youtube, but it surely an orphaned Node.
The other video try to uploading from Drupal whick didn't upload successfully has the link of node and field, but there's no check box and showing "Video is being processed".
So, the connection with Youtube should be OK, but can not upload from Drupal. What should I do now??
Thanks in advance.
Comment #25
jhedstromHappydrupal and others still having issues: can you verify whether you're using the latest dev version or 6.x-1.2? The current dev version should work with the latest filefield.
Comment #26
happydrupal commentedjhedstrom, Thanks
my current module are
FileField 6.x-3.0
Video Upload Field 6.x-1.2
Do you suggest that upgrade Video Upload to 6.x-1.x-dev first??? Or I should keep waiting the new but recommended for 6.x module???
Thanks in advance.
Comment #27
netbear commentedI installed video_upload 6.x-dev, file_field 6.3, try to upload video and again the same error as i writen before:
Referencing to the file used in the Myvideofile field is not allowed.
File is uploaded to the server successfuly, but I look on page http://mysite/admin/content/video-upload and there is no file in the queue on youtube.
Comment #28
happydrupal commentedmy current module are
FileField 6.x-3.0
Video Upload Field 6.x-1.x-dev ...... just upgraded from 6.x-1.2
Still not work.
Video Node had been created wiht the message Video is being processed.. Video file had been uploaded to Drupal in the files directory.
And an video item showing Video is being processed. status under Home » Administer » Content management » Manage Video Uploads
After run the cron, a Video upload Log in Home » Administer » Reports » Recent log entries showing error message with XML code(Please see attached)
And of course, there's nothing in the Uploaded Videos list in Youtube.
It looks like there's problem during uploading to Youtube from the error message with XML code.
Any clue???
Comment #29
happydrupal commentedWith more research in the previous issues, this time I did turn off the WHISWIG FCKeditor in creating the video node by set the exclude path in the FCKeditor global profile. So there're no extra tag should be passed during the upload.
However still not work......................
Video Node had been created wiht the message Video is being processed.. Video file had been uploaded to Drupal in the files directory.
And an video item showing Video is being processed. status under Home » Administer » Content management » Manage Video Uploads
After the cron job, a Video upload Log in Home » Administer » Reports » Recent log entries showing error message with XML code:
I think this shouldn't related to the tag problem..................., then?
Hope there will be the solution or answer soon!!!
Thanks in advance.
Comment #30
jhedstromHappydrupal,
It looks like your issue is unrelated to the FileField upgrade, but more similar to #375294: Video Processing but different error. Could you post your video upload field settings in that issue?
Comment #31
happydrupal commentedcan do
Comment #32
happydrupal commentedMy problem solved after I typed some keywords in the default keywords in the video filed setting. Gee............
Video is successful uploaded!!
Thanks anyway!!
Comment #33
happydrupal commentedWired, I saw this message only after I tried to update the title/body of the successful uploaded video node.
But I can change the Video Title & Description of the successful uploaded video from Youtube, it isn't sync back to the title/body of the original video node.
It seems that there's no sync between the Video node and Video in the Youtube. Anybody got the same issue??
Comment #34
netbear commentedI checked my youtube account, but video wasn't uploaded there, only in files directory, thanks for trying to help, happydrupal.
Comment #35
NicoDruif commentedHi there,
Thanks for developing this great module! For a big new community website I want to implement the video upload module. But... unfortunately it's not working. I'm curious which version combinations people are using that do work...
I tried:
- drupal-6.12
- filefield-6.x-3.0
- video_upload-6.x-1.x-dev with ZendGdata-1.8.1
- poormanscron-6.x-1.0
I disabled all other modules when testing with the video upload module, and filled in all necessary fiels in the settings page.
Result for now is that i can make a node with a video upload field, and i can upload a video to my own server, but... i cannot open the 'Manage Video Uploads' page. That gives a white screen. After some testing I found out that this is probably because the whole (poormans) cron job functionality isnt working when i have the video upload module enabled... even when i do a cron job manually from /admin/reports/status/run-cron for example, i get a white screen. In the logs it says that the cron job what stopped because it took too long. After disabling the video upload, cron does work again.
And because the cron job cant run, the video doesnt get uploaded to youtube ofcourse...
I also noticed that I couldnt change the file size limit, it keeps saying 2 MB.
Anyone encountered these problems? I am curious what version combinations are working.
I also posted this question here (http://drupal.org/node/475518), because I wasnt sure if this should be seen as a new issue or not...
Comment #36
mellenger commentedI have this same exact problem.
Here's the error i get in the watchdog:
One question: does this mean that it wants the videos to be categorized using youtube's taxonomy? I know when I upload i video through my account i need to add taxonomy to it. Is there a way to do that? can i just hardcode it in for now to test?
thanks!
Comment #37
mellenger commentedI don't know if this is new, but keywords are also required for YT to process the video. I noticed the category has "entertainment" as a fallback, there should probably be a fallback for the keywords value as well. Anyway, the videos seem to be working now.
Side note: I seem to remember there being a place where I could enter in default values for description, tags and category. I can't find that anymore. has that been removed?
Comment #38
off commentedSubscribe
Comment #39
jmbailey commentedsubscribe
Comment #40
isaac.niebeling commentedI think this might have been hijacked a little bit, but I'm still seeing a problem with Video Upload 6.x-1.x-dev and the current release of filefield. I just updated filefield today, and now any video upload-ed node gets the WSOD. Nothing in Watchdog, but in the PHP log, I have:
Call to undefined function field_file_load() in /var/www/html/sites/all/modules/filefield/filefield_field.inc on line 134
However, since this only takes place on nodes with video upload fields, and since the problem goes away when video upload is disabled, I think it's actually related to video upload and not filefield. Also: this occurs on node view, not just node edit.
Any thoughts? I've got a major part of our site down at the moment, because the video kills that section.
Thanks,
Isaac
Comment #41
bojanz commentedThis is a filefield problem, as you can see from the error in your error log.
It happens when video_upload is used because video_upload uses filefield in the background.
I'm running the latest stable release of filefield and the latest dev release of video_upload 1.x and everything is fine.
Try reinstalling filefield.
Comment #42
isaac.niebeling commentedDid a bunch of uninstalling and reinstalling of the latest Filefield and the video upload dev, and something got kicked loose, 'cause it's working now. Weird.
Comment #43
bojanz commented