update.php
Version 1.252.2.3 (checked in on 2009/03/30 at 11:15:11 by goba)
Administrative page for handling updates from one Drupal version to another.
Point your browser to "http://www.example.com/update.php" and follow the instructions.
If you are not logged in as administrator, you will need to modify the access check statement inside your settings.php file. After finishing the upgrade, be sure to open settings.php again, and change it back to its original state!
Constants
| Name | Description |
|---|---|
| MAINTENANCE_MODE | Global flag to identify update.php run, and so avoid various unwanted operations, such as hook_init() and hook_exit() invokes, css/js preprocessing and translation, and solve some theming issues. This flag is checked on several places in Drupal code... |
Functions
| Name | Description |
|---|---|
| db_add_column | Add a column to a database using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. |
| db_change_column | Change a column definition using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. |
| update_access_denied_page | |
| update_batch | |
| update_check_incompatibility | Helper function to test compatibility of a module or theme. |
| update_check_requirements | Check update requirements and report any errors. |
| update_create_batch_table | Create the batch table. |
| update_do_one | Perform one update and store the results which will later be displayed on the finished page. |
| update_finished | |
| update_fix_compatibility | Disable anything in the {system} table that is not compatible with the current version of Drupal core. |
| update_fix_d6_requirements | Perform Drupal 5.x to 6.x updates that are required for update.php to function properly. |
| update_info_page | |
| update_results_page | |
| update_script_selection_form | |
| update_selection_page | |
| update_task_list | Add the update task list to the current page. |
