Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
write a (menu item in this module?) script to convert existing youtube_cck fields to video_cck.
Comments
Comment #1
aaron CreditAttribution: aaron commentedin process. should be finished this week.
Comment #2
aaron CreditAttribution: aaron commenteddone. 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
Comment #3
aaron CreditAttribution: aaron commentedalso, you have to have the Embedded Media Field installed as well. though it warns you about that if you don't have it.
aaron
Comment #4
aaron CreditAttribution: aaron commentedit'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).
Comment #5
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
cercamon CreditAttribution: cercamon commentedI'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}