You're missing a primary key in .install. Resulted in some SQL errors.... This fixed it.

CommentFileSizeAuthor
media_mover.patch681 bytesrobloach

Comments

arthurf’s picture

Thanks for the patch, I'll get into the repo shortly

robloach’s picture

Status: Needs review » Needs work

Ummm, I'm not too sure if cid is the primary idea... Saving new configurations causes some errors.....

* user warning: Unknown column 'rss' in 'field list' query: INSERT INTO drupal5_media_mover_config_list (cid, name, description, rss, status) VALUES (1, 'My configuration name', 'My configuration description', 0, 'enabled') in /var/www/drupal5/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '1' for key 1 query: INSERT INTO drupal5_media_mover_configurations (cid, verb, module, action, configuration) VALUES (1, 'process', 'mm_ffmpeg', '1', 'a:16:{s:18:\"ffmpeg_output_type\";s:3:\"flv\";s:21:\"ffmpeg_audio_advanced\";i:0;s:15:\"ffmpeg_audio_ab\";s:2:\"64\";s:15:\"ffmpeg_audio_ar\";s:5:\"44100\";s:13:\"ffmpeg_acodec\";s:3:\"mp3\";s:21:\"ffmpeg_video_advanced\";i:0;s:17:\"ffmpeg_video_size\";s:6:\"128x96\";s:23:\"ffmpeg_video_size_other\";s:0:\"\";s:16:\"ffmpeg_video_fps\";s:2:\"25\";s:15:\"ffmpeg_video_br\";s:3:\"50k\";s:13:\"ffmpeg_vcodec\";s:3:\"flv\";s:20:\"ffmpeg_time_advanced\";i:0;s:11:\"ffmpeg_time\";s:2:\"30\";s:15:\"ffmpeg_video_wm\";i:0;s:20:\"ffmpeg_video_wm_file\";s:0:\"\";s:19:\"ffmpeg_output_perms\";s:4:\"0644\";}') in /var/www/drupal5/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '1' for key 1 query: INSERT INTO drupal5_media_mover_configurations (cid, verb, module, action, configuration) VALUES (1, 'storage', 'mm_content', '2', 'a:1:{s:20:\"mm_config_save_field\";a:1:{s:16:\"field_video_file\";s:16:\"field_video_file\";}}') in /var/www/drupal5/includes/database.mysql.inc on line 172.
* user warning: Duplicate entry '1' for key 1 query: INSERT INTO drupal5_media_mover_configurations (cid, verb, module, action, configuration) VALUES (1, 'complete', 'media_mover_api', '1', 'N;') in /var/www/drupal5/includes/database.mysql.inc on line 172.

arthurf’s picture

are you using DRUPAL-5 files?

robloach’s picture

Yup, I know I did run into some troubles installing it. Although I got the tables in there, saving a new configuration didn't go too well.

arthurf’s picture

Bummer. Ok, well sounds like I've got to clean up the install file. My local install keeps getting the install updates, so it sounds like I need to go back through and make sure everything is synced up. Sorry you're running into this!

arthurf’s picture

Status: Needs work » Postponed (maintainer needs more info)

I found an extra "," that was hanging out. That seems to have fixed it for me. New code in CVS