- Patch #107788 by Uwe: alignment fixes.
parent
b8f135fdd5
commit
f199145299
101
UPGRADE.txt
101
UPGRADE.txt
|
@ -3,75 +3,74 @@
|
||||||
UPGRADING
|
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 in your
|
added modules and themes, any contributed modules in your
|
||||||
"modules" directory, and your "files" directory which contains
|
"modules" directory, and your "files" directory which 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 located
|
For multisite configuration the configuration file is located
|
||||||
in a structure like the following:
|
in a structure like the following:
|
||||||
|
|
||||||
sites/default/settings.php
|
sites/default/settings.php
|
||||||
sites/example.com/settings.php
|
sites/example.com/settings.php
|
||||||
sites/sub.example.com/settings.php
|
sites/sub.example.com/settings.php
|
||||||
sites/sub.example.com.path/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. Log on as the user with user ID 1. User ID 1 is the first
|
2. 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
|
||||||
(step 9) which can only be run by user ID 1. Do not close
|
(step 9) which can only be run by user ID 1. Do not close
|
||||||
your browser until step 10 is complete.
|
your browser until step 10 is complete.
|
||||||
|
|
||||||
3. Place the site in "Off-line" mode, to mask any errors from
|
3. Place the site in "Off-line" mode, to mask any errors from
|
||||||
site visitors.
|
site visitors.
|
||||||
|
|
||||||
4. Disable contributed modules and switch to a core theme
|
4. Disable contributed modules and switch to a core theme
|
||||||
(Bluemarine or Garland).
|
(Bluemarine or Garland).
|
||||||
|
|
||||||
5. Remove all of the old files and directories from the Drupal
|
5. Remove all of the old files and directories from the Drupal
|
||||||
installation directory.
|
installation directory.
|
||||||
|
|
||||||
6. Unpack the new Drupal files and directories into the Drupal
|
6. Unpack the new Drupal files and directories into the Drupal
|
||||||
installation directory.
|
installation directory.
|
||||||
|
|
||||||
7. Copy the backed up "files" and "sites" directories to the
|
7. 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 as
|
versions of these files to the installation directory as
|
||||||
well.
|
well.
|
||||||
|
|
||||||
8. Verify the new configuration file to make sure it has the
|
8. Verify the new configuration file to make sure it has the
|
||||||
latest and correct information.
|
latest and correct information.
|
||||||
|
|
||||||
9. Re-install contributed modules.
|
9. 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.
|
||||||
|
|
||||||
10. Run update.php by visiting http://www.example.com/update.php
|
10. Run update.php by visiting http://www.example.com/update.php
|
||||||
(replace www.example.com with your drupal installation's
|
(replace www.example.com with your drupal installation's
|
||||||
domain name and path). This step will update the database to
|
domain name and path). This step will update the database to
|
||||||
the new Drupal installation.
|
the new Drupal installation.
|
||||||
|
|
||||||
Note: if you are unable to access update.php do the
|
Note: if you are unable to access update.php do the following:
|
||||||
following:
|
|
||||||
|
|
||||||
- Open update.php with a text editor.
|
- Open update.php with a text editor.
|
||||||
|
|
||||||
- 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;.
|
||||||
|
|
||||||
- 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;.
|
||||||
|
|
||||||
11. Finally, return site to "Online" mode so your visitors may resume
|
11. Finally, return site to "Online" mode so your visitors may resume
|
||||||
browsing.
|
browsing.
|
||||||
|
|
Loading…
Reference in New Issue