Hi all
I'm trying to upgrade from the 5x to 6x. Everything seems to go smooth, except for my emfields, specifically the embedded video field.
My process is
1. everything is upgraded to the latest 5x versions.
2. disable all contrib modules
3. use garland theme.
4. go off-line
5. upload the 6x files.
6. ensure settings.php is correct
7. update.php
8. go back online,
9. start installing modules.
10, install cck, content module-then update.php
11. install emfield module-then update.php
12, install emvideo module -then update.php.
Now if i go check my content types at this point, I get the following message for fields that used the emvideo in 5x.
"This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled."
"'yourfield' (field_yourfield) is an inactive Embedded Video field that uses a video_cck_textfields widget."
So, i've tried unistalling all CCK modules and re-installing them, performing an update after each one, and multiple other scenarios. Nothing seems to work.
Does anyone know the process I should follow??
Thanks all
Mark
Comments
...and one more thing....
My other cck fields, like number and date, work
mark
bump
anyone? I could really use some help on this one.
Mark
Ok, I think i solved this
Ok, I think i solved this myself. I went into the database through phpmyadmin and manually change the field name video_cck_textfields in the content_node_field_instance table to emvideo_textfields.
then uninstall, re-install cck modules. Now the content types pick up the data. I had to check my views were trying to access the appropriate field, and that is working.
Now, I dont' know if this is related or now, but i'm also having issues with cck fields and creating new content. I will update/edit this post if I think they are related and i have a solution.
Mark
I have the same
I have the same problem.
---
Drupal Dersleri - Türkçe Drupal bilgi kaynağınız
---
Drupal Dersleri - Türkçe Drupal bilgi kaynağınız
Looks like a problem with emfield.install
Check out #360748: No upgrade path for emimage where I posted a patch to emfield.install based in part on your fix, Mark. Thanks for your work on figuring that out!
thanks for the hint here. I
thanks for the hint here.
I altered the database entries as you suggested.
I didn't need to uninstall then re-install though.
I simply diabled thene re-enabled them and it worked.
Andrew Mallis
http://ideograph.ca
http://andrewmallis.com
This worked for me too. Here
This worked for me too. Here is the SQL:
update content_node_field_instance set widget_type='emvideo_textfields' where widget_type='video_cck_textfields'After that, simply disable the Embedded Media fields and then re-enable them.
--
CiviHosting - Drupal Hosting Specialists -- 100% Satisfaction Guaranteed
uninstall
u need to uninstall and reinstall not just disable and enable
http://www.WOGOOH.com
http://www.i-bloggers.com
Brilliant!
Had exactly the same issues after d5 - d6 upgrade, and the above SQL followed by an uninstall reinstall of emfield worked a treat. Really appreciate the above posts
mysty
Updated SQL but had to
Updated SQL but had to deinstall/reinstall too. Thanks!
Works
The SQL provided here helped, then disabling the modules, deleting the emfield entries from the system table (uninstalling) and enabling the modules again. Done, working.
Thanks, guys, almost gave up on this one.
-
fiLi's Tech
solution
only after running those 2 commands :
update content_node_field set type='emvideo' where type='video_cck';update content_node_field_instance set widget_type='emvideo_textfields' where widget_type='video_cck_textfields'
and disbale all embeded field modules and re-enable them solved the problem and now the fields are active
Dev Art- Drupal Based Services and Development
views issues
I had some issues with views , i got error the columns are missing
so i have create a new content type and found that there are 5 fields missing
the only solution i had found is to alter the table and add those fields
content_type_ext_video is my table name = content type name
field_ext_video is my column name
alter table content_type_ext_videoADD field_ext_video_status int(10) NOT NULL default 1,
ADD field_ext_video_version int(10) NOT NULL default 0,
ADD field_ext_video_title varchar(255) NULL default NULL,
ADD field_ext_video_description varchar(255) NULL default NULL,
ADD field_ext_video_duration int(10) NOT NULL default 0;
hope this will be helpful for someone because i couldn't find anything about this and it took me some time to figure it out
Dev Art- Drupal Based Services and Development