update.php

  1. drupal
    1. drupal6
    2. drupal7

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!

Funktionen & Methoden

NameBeschreibung
db_add_columnAdd a column to a database using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array.
db_change_columnChange a column definition using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array.
update_access_denied_page
update_batch
update_check_incompatibilityHelper function to test compatibility of a module or theme.
update_check_requirementsCheck update requirements and report any errors.
update_create_batch_tableCreate the batch table.
update_do_onePerform one update and store the results which will later be displayed on the finished page.
update_extra_requirementsReturns (and optionally stores) extra requirements that only apply during particular parts of the update.php process.
update_finished
update_fix_compatibilityDisable anything in the {system} table that is not compatible with the current version of Drupal core.
update_fix_d6_requirementsPerform Drupal 5.x to 6.x updates that are required for update.php to function properly.
update_fix_d7_requirementsPerform 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_urlParse database connection URLs (in the old, pre-Drupal 7 format) and return them as an array of database connection information.
update_prepare_d7_bootstrapUsers 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_listAdd the update task list to the current page.

Konstanten

NameBeschreibung
DRUPAL_ROOTRoot directory of Drupal installation.
MAINTENANCE_MODEGlobal 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

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen