/** * Upgrade Drupal 6 -> Drupal 7 * * * XAMPP (Basispaket) version 1.7.4 * * Apache 2.2.17 * MySQL 5.5.8 (Community Server) * PHP 5.3.5 (VC6 X86 32bit) + PEAR * * * Follow to upgrade: http://drupal.org/node/570162 * */ Enabled D6 modules - I. Administration: i. Administration menu (6.x-1.8) -> (7.x-3.0-rc3: http://drupal.org/project/admin_menu) II. CCK -> (Moved to core) i. Content (6.x-2.9) ii. Content Copy (6.x-2.9) iv. Email (6.x-1.4) v. Fieldgroup (6.x-2.9) vi. FileField (6.x-3.10) ix. Link (6.x-2.9) x. Node Reference (6.x-2.9) xi. Number (6.x-2.9) xii. Option Widgets (6.x-2.9) xiii.Text (6.x-2.9) xiv. User Reference (6.x-2.9) III. Enabled Core - optional (6.26) i. Color ii. Database logging iii. Help iv. Locale v. Menu vi. Path vii. Taxonomy viii.Update status iV. Date/Time -> (7.x-2.6: http://drupal.org/project/date) i. Calendar (6.x-2.4) -> (7.x-3.4: http://drupal.org/project/calendar) ii. Date (6.x-2.9) iii. Date API (6.x-2.9) iv. Date Locale (6.x-2.9) v. Date Popups (6.x-2.9) vi. Date Repeat API (6.x-2.9) vii. Date Timezone (6.x-2.9) viii.Date Tools (6.x-2.9) V. Development i. Devel (6.x-1.27) -> (7.x-1.3: http://drupal.org/project/devel) VI. ImageCache -> (Moved to core) i. ImageAPI (6.x-1.10) ii. ImageAPI GD2 (6.x-1.10) iii. ImageAPI ImageMagick (6.x-1.10) iv. ImageCache (6.x-2.0-rc1) v. ImageCache UI (6.x-2.0-rc1) VII.Other i. Advanced help (6.x-1.2) -> (7.x-1.0: http://drupal.org/project/advanced_help) ii. Empty Page (6.x-1.1) -> (7.x-1.0: http://drupal.org/project/empty_page) iii. Libraries (6.x-1.0) -> (7.x-2.0: http://drupal.org/project/libraries) iv. Menu Block (6.x-2.4) -> (7.x-2.3: http://drupal.org/project/menu_block) v. Menu item containers (6.x-1.2) -> UNINSTALLED -> Menu special items (7.x-2.0: http://drupal.org/project/special_menu_items) vi. Pathauto (6.x-1.6) -> (7.x-1.2: http://drupal.org/project/pathauto) vii. Poormanscron (6.x-2.2) -> (Moved to core: no need) viii.Token (6.x-1.19) -> (7.x-1.4: http://drupal.org/project/token) ix. UCLA Mobile Web Framework (*) ****** x. Weight (6.x-1.2) -> (7.x-2.1: http://drupal.org/project/weight) VIII.Permissions i. View Unpublished Content (6.x-1.3) -> (7.x-1.1: http://drupal.org/project/view_unpublished) IX. User interface i. jQuery UI (6.x-1.5) -> (part of Core: no longer needed) ii. jQuery Update (6.x-2.0-alpha1) -> (7.x-2.2: http://drupal.org/project/jquery_update) iii. Wysiwyg (6.x-2.4) -> (7.x-2.2: http://drupal.org/project/wysiwyg) X. Views i. Timeline (6.x-2.1) -> (7.x-3.x-dev: http://drupal.org/project/timeline DEVELOPMENT RELEASE) ii. Views (6.x-2.16) -> (7.x-3.5: http://drupal.org/project/views) iii. Views build menu (6.x-1.0-alpha1) -> (NO UPGRADE PATH: http://drupal.org/project/views_build_menu) iv. Views cloud (6.x-1.2) -> (NO UPGRADE PATH: http://drupal.org/project/views_cloud) v. Views Custom Field (6.x-1.0) -> (NO UPGRADE PATH: REPLACEMENT VIEWS PHP: http://drupal.org/project/views_customfield) vi. Views exporter (6.x-2.16) -> (Assume to be part of Views module) vii. Views periodic execution (6.x-1.3) -> (7.x-1.3-beta1: http://drupal.org/project/views_periodic_execution) viii.Views PHP (6.x-1.x-dev) -> (7.x-1.x-dev: http://drupal.org/project/views_php) ix. Views Slideshow (6.x-2.4) -> (7.x-3.0: http://drupal.org/project/views_slideshow) x. Views Slideshow: SingleFrame (6.x-2.4) -> (same as latter) xi. Views Slideshow: ThumbnailHover (6.x-2.4) -> (same as latter) xii. Views UI (6.x-2.16) -> (Assume to be part of views module) === Uninstall (or delete) modules: * Reference: http://drupal.org/node/895314 I. Uninstall Modules: 1. Imagecache (all submodules) 2. Administration theme 3. Poormanscron 4. jquery UI 5. views cloud (no upgrade path) ** 6. menu item containers (no upgrade path: using 'special menu items' instead) ** 7. TokenArgument (not being used in d6 site) ** 8. views build menu (no upgrade path): Doesn't do anything when enabled. 9. Browscap (not being used in d6 site) ** No '.install' file, so no tables are being created by module II. Remove files / directories: 1. Remove 'jquery.ui' directory in '[site:name]\sites\all\libraries' since this is in core now === Last drupal 6 steps - I. Disable all modules: '[site:name]/admin/build/modules' II. Delete 'default.settings.php' and make sure it is writable in d6 instance === Drupal 7: I. Extract D7 in sites/htdoc 1. Delete '/sites' from D7 intance 2. Copy '/sites' from D6 instance into new D7 instance 3. Make sure 'settings.php' [in D6 instance] is writable so 'update.php' can convert it to D7 version i. In windows: set 'Users (CDPSTAFF1\Users) with 'Modify, Write' permissions 4. Goto 'settings.php' [in D6 instance], and change line: '$update_free_access = FALSE;' to 'TRUE' so 'update.php' has access to 'settings.php' II. Run 'update.php' on new D7 site === Resolved errors: I. Warning: fileowner() [function.fileowner]: stat failed for temporary://upd92FE.tmp in update_manager_local_transfers_allowed() (line 924 of C:\inetpub\wwwroot\drupal\modules\update\update.manager.inc) * Navigate to: [site:name]admin/config/media/file-system 1. I created a directory: 'tmp' in 'sites/default/files' 2. Assigned 'Temporary directory': 'sites/default/files/tmp' === Migrate CCK Fields and Data: I. Downloaded drupal 7 CCK: http://drupal.org/project/cck 1. Replace old CCK directory with d7 version 2. Enable the CCK Content Migrate module 3. Browser to the Migrate fields page: [site:name]/admin/structure/content_migrate * For more information: http://drupal.org/node/1144136 4. Migrated all 'available fields' 5. Migrate 'Unavailable fields': ** Below is predicated from: http://groups.drupal.org/node/19513 i. Download all 'xxx' modules deemed 'Missing xxx module: 'xxx'. This field cannot be migrated.' from drupal.org ** the message above is from being at the following url: [site:name]admin/structure/content_migrate ii. Extract / Unzip 'xxx' modules iii.Goto '[site:name]/sites/all/modules' and delete (current D6) module folders 'xxx' iv. Copy (new D7) 'xxx' modules in '[site:name]/sites/all/modules' v. Run 'update.php' vi. Enable needed module(s) mentioned in 'Other information' at '[site:name]/admin/structure/content_migrate' vi. Go back: [site:name]/admin/structure/content_migrate a. 'Unavailable fields' associated to updated module will become 'available fields' 6. Update modules to D7 versions i. Best practices: http://groups.drupal.org/node/19513 === I. Delete any modules moved to core - that still shows up at '[site:name]/admin/modules': === Restore conditions: I. Settings.php 1. Make sure the following line is intact: '$update_free_access = FALSE;' 2. Reset permissions for 'default.settings.php' === Post Upgrade: I. Views - 1. products > Product Listing a. Added missing fields in the view (compared to http://128.97.141.58/admin/build/views/edit/products) i. View displays correctly on '[site:name]/products' === I. Implement 'Special menu items' in place of previous 'menu item containers' II. Incorporate information that was contained in 'Views Custom Field' into 'views php' III. Find alternative to 'weights' module used in D6 for our new d7 instance III. Update MWF theme to D7 IV. Could not find the following available D6 Submodules: 1. Update status, date locale, date timezone V. Views Custom Field 1. We need the information here [so we didn't uninstall in before] 2. Transfer the information to views.php ** More info: Drupal 7 - Now that the Views module has incorporated the rownumber and markup fields, only the PHP field is left for this module. I started a new project called Views PHP. It also includes support for PHP filters and sorts. (http://drupal.org/project/views_customfield)