write a (menu item in this module?) script to convert existing youtube_cck fields to video_cck.

Comments

aaron’s picture

Title: convert to video_cck » convert to emfield
Assigned: Unassigned » aaron

in process. should be finished this week.

aaron’s picture

Status: Active » Fixed

done. after updating the module, go to /admin/settings/youtube_cck/convert and click the convert types button. make sure to save your db first in case something goes wrong.

converts types, display settings, views, and existing nodes.

if you have problems with the conversion process, please let me know so i can look at the script.

thanks,
aaron

aaron’s picture

also, you have to have the Embedded Media Field installed as well. though it warns you about that if you don't have it.

aaron

aaron’s picture

it's only for 5.x. if you're using 4.7, let me know, and i'll look at writing a version for that as well. not sure how many of these are in the wild. (or did i even write a version for 4.7? don't remember).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

cercamon’s picture

I'm trying to convert but when I go to /admin/settings/youtube_cck/convert I have the following answer.

warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/o/p/i/......../html/......../includes/menu.inc on line 415.
warning: Missing argument 1 for drupal_get_form() in /home/content/o/p/i/......../html/......./includes/form.inc on line 49.
warning: Missing argument 1 for drupal_retrieve_form() in /home/content/o/p/i/......../html/......./includes/form.inc on line 179.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/content/o/p/i/........../html/........../includes/form.inc on line 218.

In the installation when I run the update script I also have this error.

video_cck module

Update #5
Failed: DELETE FROM {cache_views}
DELETE FROM {cache_content}
DELETE FROM {cache}
Update #6
Failed: DELETE FROM {cache_views}