Hello, I upgraded from 4.7 to 5.7 and used cck before for creating customized content types and fields.
Since I upgraded, my customized fields don't show anymore on the node page. Everything is in the DB but they don't show.
I updated one of my custom content type that was created before upgrade, I filled all the fields and it worked.
So perhaps there is a problem in the DB.
I had an other problem that I could solve. In fact the table (node_activitylog) of my custom content type "activitylog" did not change its name during the upgrade, so I had to rename the table manually to content_type_activitylog.
What can be the problem with my not showing custom fields?
Comments
Comment #1
daja commentedWith fields not showing I mean field's content not showing. The fields are there but are empty.
Comment #2
emackn commentedDid you figure anything out? I'm having the exact same problem. The data is in the content_field_body table but does not get displayed on the edit page. I followed the CCK upgrade instructions precisely and still have issues.
Comment #3
emackn commentedMy upgrade started with Drupal 4.7.2. Upgraded to 4.7.11 then on to 5.7. The move to 5 was with a default theme and all modules turned off as recommended by the CCK upgrade thread.
Here's what worked for me.. After trying every which way I could think of, it came down to resetting the 'content_schema_version' variable with the devel module (or via sql) and re-running the content updates via update.php from version 1000.
Comment #4
daja commentedI still didn't solve my problem. What do you mean wiht resetting the 'content_schema_version' variable?
This variable is in the table 'variable' and its value is set to 'i:1003;' in my DB.
If I would like to reset it via sql, should I delete completely this variable from my 'variable' table or should I only delete it's value and then update with update.php?
Thank for your help.
Comment #5
emackn commentedok.. i dont think the variable was what fixed my data.. it was just the last thing that I tried. Here's exactly what I did to get my data back.
from stable drupal 4.7.11 install
Hope that helps you.
Comment #6
daja commentedWaw, thank you, it worked for me also. The only thing I had to do was to run update.php and choose the version number 1000 for content module (I had the 1003 version running). And my custom cck fields were back and showing again.
This was really helpful.
Comment #7
sunComment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.