Closed (fixed)
Project:
Video
Version:
6.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2009 at 16:56 UTC
Updated:
15 Dec 2009 at 03:30 UTC
I'm upgrading a site from D5 to D6. My videos are playing fine but I noticed that I'm getting a lot of log entries like:
Message Table footy.video_upload doesn't exist query: SELECT fid FROM video_upload WHERE nid = 2739 in /etc/drupal/all/modules/video/types/video_upload/video_upload.module on line 313.
I don't see anything video module related listed in update.php.
Is there any way to force video_upload_schema to run?
Comments
Comment #1
hypertext200Please create table called, video_upload and migrate all your D5's file_revision table data into it
Comment #2
bkat commentedJust to make sure I did this correctly. I got the table created
Importing the D5 data is relatively straightforward except that D5's file_revision table had multiple rows with the same vid.
select fr.vid, v.nid, fr.fid from file_revisions fr, video v, files where fr.vid = v.vid and fr.fid = files.fid order by v.vid, fr.fid;
Here's a sample for one video
it looks like 16080 is the video_fid and 16091 is the encoded_video_fid of the video's serialized data. So I set up the video_upload row with the video_fid (16080).
Is that correct?
Comment #3
hypertext200Exactly correct, I'm quite busy these days, your welcome to share your upgrade process here, cause it will useful to many other people