80 likes | 217 Views
Upgrading Drupal. 5.x to 6.x . To do’s before upgrade. Upgrade to current version of Drupal 5.x Upgrade to the latest 5.x versions of all CCK modules (and any other modules you can) Backup EVERYTHING!. Step by Step. Login as number one user Backup everything Put site in maintenance mode
E N D
Upgrading Drupal 5.x to 6.x
To do’s before upgrade • Upgrade to current version of Drupal 5.x • Upgrade to the latest 5.x versions of all CCK modules (and any other modules you can) • Backup EVERYTHING!
Step by Step • Login as number one user • Backup everything • Put site in maintenance mode • Set theme to Garland including administration theme • Turn off all contributed and custom modules • Delete all contributed and custom modules, themes and files (optional) • Delete all drupal files from the Drupal installation directory • Copy 6.x files
Step by Step (cont.) • run script file to fix tables: locales_target, profile_values • delete watchdog and cache tables, • Run update.php as many times as needed to get through all updates without errors. • Run CCK upgrade - http://drupal.org/project/cck • Run imagefield fix script - http://drupal.org/node/296195#comment-1105891 • Enable Pandemonium theme but don’t make it the default. Check configuration. • Clear Drupal cache • Make Pandemonium theme the default theme • Copy 6.x custom and contributed modules and enable • Run update.php as many times as needed to get through all updates without errors. • Change display fields for content types • Edit Permissions • Change admin theme to pandemonium • Remove HTML corrector from the HTML with tracking input filter
Things to do after upgrade • Check your theme blocks • Install Views - http://groups.drupal.org/node/10129 • Setup Internationalization
Resources • http://www.masteringdrupal.com/screencast/upgrading-to-drupal-6 • http://drupal.org/upgrade/ • Converting 5.x themes to 6.x - http://drupal.org/node/132442 • Converting 5.x modules to 6.x - http://drupal.org/node/114774 • Upgrading to the new menu system - http://drupal.org/node/103114 • Remove db_num_rows() method - http://drupal.org/node/114774#db-num-rows • #multistep is gone, use $form_state instead - http://drupal.org/node/144132#multistep • Parameters for form validation and submission functions have changed - http://drupal.org/node/144132#process-params • Arguments changed for url() and l() - http://drupal.org/node/114774#url • Internationalization (i18n): Building multilingual sites - http://drupal.org/node/133977 • drupal.org • lullabot.com