Version 1.285 (checked in on 2009/05/24 at 17:39:30 by dries)
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!
| Name | Beschreibung |
|---|---|
| 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_extra_requirements | Returns (and optionally stores) extra requirements that only apply during particular parts of the update.php process. |
| 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_fix_d7_requirements | Perform Drupal 6.x to 7.x updates that are required for update.php to function properly. |
| update_helpful_links | |
| update_info_page | |
| update_parse_db_url | Parse database connection URLs (in the old, pre-Drupal 7 format) and return them as an array of database connection information. |
| update_prepare_d7_bootstrap | Users who still have a Drupal 6 database (and are in the process of updating to Drupal 7) need extra help before a full bootstrap can be achieved. This function does the necessary preliminary work that allows the bootstrap to be successful. |
| update_results_page | |
| update_script_selection_form | |
| update_selection_page | |
| update_task_list | Add the update task list to the current page. |
| Name | Beschreibung |
|---|---|
| DRUPAL_ROOT | Root directory of Drupal installation. |
| 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… |
Kommentare
Kommentar hinzufügen