update.php

Version 1.186.2.1 (checked in on 2006/10/18 at 20:14:41 by killes)

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 below. Change the TRUE to a FALSE to disable the access check. After finishing the upgrade, be sure to open this file and change the FALSE back to a TRUE!

Functions

NameDescription
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_convert_table_utf8Convert a single MySQL table to UTF-8.
update_dataPerform one update and store the results which will later be displayed on the finished page.
update_do_updatesPerform updates for one second or until finished.
update_do_update_pagePerform updates for the JS version and return progress.
update_finished_page
update_fix_access_table
update_fix_schema_versionIf the schema version for Drupal core is stored in the variables table (4.6.x and earlier) move it to the schema_version column of the system table.
update_fix_sessionsSystem update 130 changes the sessions table, which breaks the update script's ability to use session variables. This changes the table appropriately.
update_fix_system_table
update_fix_watchdogSystem update 142 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately.
update_fix_watchdog_115System update 115 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately.
update_info_page
update_progress_page
update_progress_page_nojsPerform updates for the non-JS version and return the status page.
update_selection_page
update_sql
update_update_page
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.