You are here

UPGRADE.txt in Content Construction Kit (CCK) 5

Same filename and directory in other branches
  1. 6.3 UPGRADE.txt
  2. 6 UPGRADE.txt
  3. 6.2 UPGRADE.txt
UPDATING FROM VERSION 4.7 TO 5.x

Depending on the exact version of Drupal 5.x and CCK 4.7 you are using,
you may run into SQL errors when you upgrade to Drupal 5.0. This problem
has been corrected for Drupal 5 HEAD and will be corrected for releases
after Drupal 5 Beta-2, but may still occur if you upgrade using Drupal 5
Beta-1 or Drupal 5 Beta-2. If you would like to know the details behind
this issue, read on. Otherwise, just be aware that you should use the
latest possible versions of both Drupal 5.x and CCK 5.x when you upgrade.

MORE DETAILS ABOUT THE UPDATE

The 4.7 version of the content module created a table called node_type
to track the custom node types that were created in CCK. In Drupal 5.x,
that table is created and maintained as a core file. The most recent 4.7
versions include an update to rename the content module version of this
table so that the upgrade to 5.x will be able to create its own version
of that table.

If you are running the most recent 4.7 content module version and have
performed all possible updates in 4.7, you should have no trouble updating
to 5.0, since that table will have been renamed and will create no conflict.
However, if your version of 4.7 is not up to date, you may still have a table
in your database called node_type. If so, and if you are using Drupal 5 Beta-1
or Drupal 5 Beta-2, you will get error messages when you update to 5.x when
the core installation tries to create that table.

The latest 5.x version of CCK will correct any errors that occur during the
core upgrade by renaming the table and rerunning the failed core updates.
However, it is recommended that you just avoid this problem altogether by
using the latest versions of all these components when you upgrade.

File

UPGRADE.txt
View source
  1. UPDATING FROM VERSION 4.7 TO 5.x
  2. Depending on the exact version of Drupal 5.x and CCK 4.7 you are using,
  3. you may run into SQL errors when you upgrade to Drupal 5.0. This problem
  4. has been corrected for Drupal 5 HEAD and will be corrected for releases
  5. after Drupal 5 Beta-2, but may still occur if you upgrade using Drupal 5
  6. Beta-1 or Drupal 5 Beta-2. If you would like to know the details behind
  7. this issue, read on. Otherwise, just be aware that you should use the
  8. latest possible versions of both Drupal 5.x and CCK 5.x when you upgrade.
  9. MORE DETAILS ABOUT THE UPDATE
  10. The 4.7 version of the content module created a table called node_type
  11. to track the custom node types that were created in CCK. In Drupal 5.x,
  12. that table is created and maintained as a core file. The most recent 4.7
  13. versions include an update to rename the content module version of this
  14. table so that the upgrade to 5.x will be able to create its own version
  15. of that table.
  16. If you are running the most recent 4.7 content module version and have
  17. performed all possible updates in 4.7, you should have no trouble updating
  18. to 5.0, since that table will have been renamed and will create no conflict.
  19. However, if your version of 4.7 is not up to date, you may still have a table
  20. in your database called node_type. If so, and if you are using Drupal 5 Beta-1
  21. or Drupal 5 Beta-2, you will get error messages when you update to 5.x when
  22. the core installation tries to create that table.
  23. The latest 5.x version of CCK will correct any errors that occur during the
  24. core upgrade by renaming the table and rerunning the failed core updates.
  25. However, it is recommended that you just avoid this problem altogether by
  26. using the latest versions of all these components when you upgrade.