I installed the video module using the patched version for 4.6 (see http://drupal.org/node/32504) and created the video table using the video.mysql file from the cvs HEAD version.

I was able to create the first video node without a problem, but have not been able to create a second video node. When I attempt to do this nothing happens. I've been getting the following error message:

Duplicate entry '0' for key 1 query: INSERT INTO video (nid, 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) VALUES ('4256', 'fakenews/vnrs/vnr2/Quest_MultiVu_VNR.mov', '-1361051648', '240', '170', '0', '0', '0', '', '113', '0', 'fakenews/vnrs/vnr2/', '1', '', '', '', '', '', '') in /usr/www/users/dpedia/prwtest/includes/database.mysql.inc on line 66.

So, I took a look at the video table in the db and sure enough there is only one record in the table.

I attempted to do this several times with the same outcome. Does anyone know what's going on with this?

Thanks in advance for any help you can send my way.

Comments

fax8’s picture

This happen because the current video.mysql on cvs isn't
no more compatible for the backport uwe made.

please drop your current video database table
then use the 4.6 version of video.mysql then follow
the instructions contained into http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/uwe/README.tx...
regarding the upgrading stuff.

Hope this helps

Fabio

------------
www.varesano.net - Fabio Varesano Personal Homepage

radiofranky’s picture

I checked the depository but I couldn't find backport for 4.6 video.module. nor mysql table.

can u share it? tks

fax8’s picture

the backported version is at
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/uwe/

------------
www.varesano.net - Fabio Varesano Personal Homepage

fax8’s picture

you have to use the video.mysql file of the video module for 4.6
then follow the steps contained on the README.txt at
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/uwe/

------------
www.varesano.net - Fabio Varesano Personal Homepage