### Eclipse Workspace Patch 1.0 #P drupal-5 Index: UPGRADE.txt =================================================================== RCS file: /UPGRADE.txt,v retrieving revision 1.3 diff -u -r1.3 UPGRADE.txt --- UPGRADE.txt 10 Jul 2006 19:27:52 -0000 1.3 +++ UPGRADE.txt 8 Dec 2006 03:12:44 -0000 @@ -5,15 +5,48 @@ 1. Backup your database and Drupal directory - especially your sites-directory which contains your configuration file and - any added modules and themes. + added modules and themes, any contributed modules + in your modules-directory, and your files-directory which + contains uploaded files. -2. Log on as the user with user ID 1. +2. Log on as the user with user ID 1. (User ID 1 is the first + account created and the main administrator account.) User + ID 1 needs to be logged in so that you have a session cookie + for user ID 1 in your browser when you access the new version + of the update.php file which can only be run by user ID 1. + + Note: If you are unable to access update.php as user ID 1 + do the following: -3. Remove all the old Drupal files then unpack the new Drupal - files into the directory that you run Drupal from. + - With a text editor find the update.php file on your system. + It should be in the main Drupal directory that you installed + all the files into. + + - There is a line near top of update.php that says + $access_check = TRUE;. Change it to $access_check = FALSE;. + + - As soon as the script is done, you must change the update.php + script back to its original form to $access_check = TRUE;. -4. Modify the new configuration file to make sure +3. Remove all of the files from the old Drupal installation + and unpack the new Drupal files into the directory you run + Drupal from. Copy the contents of your files-directory from + your backup to your newly upgraded Drupal installation. + +4. (Optional) Re-install contributed modules. + + Note: Make sure the version of a module matches your + version of Drupal. Modules from previous versions are + not compatible with with the current version. Check + http://drupal.org/project/Modules for the version of a + module to match your version of Drupal. + +5. Modify the new configuration file to make sure it has the latest and correct information. -5. Run update.php by visiting http://www.example.com/update.php. +6. Run update.php by visiting http://www.example.com/update.php. + This step will update the database to the new Drupal + installation. +For more information on upgrading visit the Drupal handbook at +http://drupal.org/upgrade \ No newline at end of file