Commit cb9a2e2a authored by Dries's avatar Dries

- Patch #102011 by mfer et al: UPGRADE.txt improvements. Made some changes of my own.

parent ce2088e8
...@@ -4,65 +4,65 @@ UPGRADING ...@@ -4,65 +4,65 @@ UPGRADING
--------- ---------
1. Backup your database and Drupal directory - especially your 1. Backup your database and Drupal directory - especially your
sites-directory which contains your configuration file and "sites" directory which contains your configuration file and
added modules and themes, any contributed modules added modules and themes, any contributed modules in your
in your modules-directory, and your files-directory which "modules" directory, and your "files" directory which contains
contains uploaded files. uploaded files.
Note: For a single site setup the configuration file is the Note: for a single site setup the configuration file is the
"settings.php" file located at sites/default/settings.php. "settings.php" file located at sites/default/settings.php.
For multisite configuration the configuration file is For multisite configuration the configuration file is located
located in a structure like the following: in a structure like the following:
sites/default/settings.php
sites/example.com/settings.php sites/default/settings.php
sites/sub.example.com/settings.php sites/example.com/settings.php
sites/sub.example.com.site3/settings.php sites/sub.example.com/settings.php
sites/sub.example.com.path/settings.php
More information on multisite configuration is located in More information on multisite configuration is located in
the INSTALL.txt file. the INSTALL.txt file.
2. Disable contributed modules and switch to a core theme 2. Disable contributed modules and switch to a core theme
(bluemarine or garland). (Bluemarine or Garland).
3. Log on as the user with user ID 1. (User ID 1 is the first 3. Log on as the user with user ID 1. User ID 1 is the first
account created and the main administrator account.) User account created and the main administrator account. User
ID 1 needs to be logged in so that you can access update.php ID 1 needs to be logged in so that you can access update.php
file (step 8) which can only be run by user ID 1. Do not (step 8) which can only be run by user ID 1. Do not close
close your browser until step 9 is complete. your browser until step 9 is complete.
4. Remove all of the old files and directories from the 4. Remove all of the old files and directories from the Drupal
Drupal installation directory. installation directory.
5. Unpack the new Drupal files and directories into the Drupal 5. Unpack the new Drupal files and directories into the Drupal
installation directory. installation directory.
6. Copy the backed up files-directory and sites-directories to the 6. Copy the backed up "files" and "sites" directories to the
Drupal installation directory. If the original .htaccess or Drupal installation directory. If the original .htaccess or
robots.txt files have been modified, copy the backed up robots.txt files have been modified, copy the backed up
versions of these files to the installation directory versions of these files to the installation directory as
directory as well. well.
7. Verify the new configuration file to make sure it has the 7. Verify the new configuration file to make sure it has the
latest and correct information. latest and correct information.
8. (Optional) Re-install contributed modules. 8. Re-install contributed modules.
Note: Make sure the version of a module matches your Note: make sure the version of a module matches your
version of Drupal. Modules from previous versions may version of Drupal. Modules from previous versions may
not be compatible with the current version. Check not be compatible with the current version. Check
http://drupal.org/project/Modules for the version of a http://drupal.org/project/Modules for the version of a
module to match your version of Drupal. module to match your version of Drupal.
9. Run update.php by visiting http://www.example.com/update.php 9. Run update.php by visiting http://www.example.com/update.php
(replace www.example.com with your drupal installations domain (replace www.example.com with your drupal installation's
name). This step will update the database to the new Drupal domain name and path). This step will update the database to
installation. the new Drupal installation.
Note: If you are unable to access update.php as user ID 1 Note: if you are unable to access update.php do the
do the following: following:
- With a text editor find the update.php file on your system. - Open update.php with a text editor.
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 - There is a line near top of update.php that says
$access_check = TRUE;. Change it to $access_check = FALSE;. $access_check = TRUE;. Change it to $access_check = FALSE;.
...@@ -70,8 +70,5 @@ UPGRADING ...@@ -70,8 +70,5 @@ UPGRADING
- As soon as the script is done, you must change the update.php - As soon as the script is done, you must change the update.php
script back to its original form to $access_check = TRUE;. script back to its original form to $access_check = TRUE;.
Note: Upgrading sequentially is recommended, one release at a time.
It is possible to skip releases, but is not advised.
For more information on upgrading visit the Drupal handbook at For more information on upgrading visit the Drupal handbook at
http://drupal.org/upgrade http://drupal.org/upgrade
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment