Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Feb 2008 at 04:24 UTC
Updated:
8 May 2010 at 01:57 UTC
I have created a gallery, added videos to it (not uploaded, but youtube links). And now this gallery always try to get a random thumbnail from it!
Of course, it cant get one, so it screws up the display.
Comments
Comment #1
softtouch commentedIf I disable video_image,it stops trying to get a thumbnail, but then, how can I add manually one?
Comment #2
softtouch commentedAny support here?
Comment #3
vhmauery commentedThe latest version of Video Image from Video module grabs the thumbnail from youtube.com.
It might be possible to regenerate thumbnails in a similar method that Image module regenerates derivatives. I will try to look into it.
Comment #4
softtouch commentedI downloaded just now the latest version.
Will try it now and report back.
Comment #5
softtouch commentedGetting:
* user warning: Table 'socialnet.video' doesn't exist query: INSERT INTO video (vid, nid, vtype, vidfile, size, videox, videoy, video_bitrate, audio_bitrate, audio_sampling_rate, audio_channels, playtime_seconds, disable_multidownload, download_folder, use_play_folder, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, serialized_data) VALUES (284, 284, 'youtube', 'http://www.youtube.com/watch?v=Jek6iP6AuAQ', 0, 425, 350, 0, 0, 0, '', 0, 0, '', 0, '', '', '', '', '', '', 'a:1:{s:3:\"iid\";i:283;}') in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.
* user warning: Table 'socialnet.video' doesn't exist query: SELECT * FROM video WHERE vid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.
* user warning: Table 'socialnet.video' doesn't exist query: UPDATE video SET play_counter = play_counter + 1 where vid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.
Comment #6
softtouch commentedUninstalled it, made sure no table or anything related to "video" exist in the database, then re-installed it and it does not create the video table...
Comment #7
fax8 commentedDid it throws an DB error? (Also check in the Drupal logs..)
Comment #8
softtouch commentedDb errors in drupal log are:
Table 'socialnet.video' doesn't exist query: DELETE FROM video WHERE nid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.
Table 'socialnet.video' doesn't exist query: INSERT INTO video (vid, nid, vtype, vidfile, size, videox, videoy, video_bitrate, audio_bitrate, audio_sampling_rate, audio_channels, playtime_seconds, disable_multidownload, download_folder, use_play_folder, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, serialized_data) VALUES (284, 284, 'youtube', 'http://www.youtube.com/watch?v=Jek6iP6AuAQ', 0, 425, 350, 0, 0, 0, '', 0, 0, '', 0, '', '', '', '', '', '', 'a:1:{s:3:\"iid\";i:283;}') in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.
I then checked with phpmyadmin, and no table was created.
What I then did was to create the table "by hand", which worked, but got issues with views integration (I posted another issue about it).
Comment #9
fax8 commentedYes.. sure.. if the table doesn't exists it throws errors on each CRUD operation..
I mean: did it throws error related to the creation of the video table? Why drupal video module wasn't able to create the table? This is the problem.
Comment #10
softtouch commentedNo error during installation....
The error appeared after I tried to submit a video.
But thats minor for the moment, because I can manually create the table.
A bigger issue for me is the errors in the views integration, it calls functions which do not exist. I posted an issue about it.
Comment #11
iLLin commented