From 7d9a74d49571ce946c3515ff6d6d06a7b3973ad8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 1 Oct 2003 21:55:19 +0000 Subject: - Added a note about having to create the session table manually when upgrading from Drupal 4.2.0. --- update.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index f954524a2..2c35e42ff 100644 --- a/update.php +++ b/update.php @@ -529,7 +529,7 @@ function update_page_header($title) { $output .= << EOF; $output .= ""; @@ -595,6 +595,18 @@ function update_info() { print "
  • Upgrade to the latest version.
  • \n"; print "
  • Go through the various administration pages to change the existing and new settings to your liking.
  • \n"; print ""; + print "Notes:"; + print "
      "; + print "
    1. If you upgrade from Drupal 4.2.0, you have to create the sessions table manually before upgrading. After you created the table, you'll want to log in and immediately continue the upgrade. To create the sessions table, issue the following SQL command:
      CREATE TABLE sessions (
      +  uid int(10) unsigned NOT NULL,
      +  sid varchar(32) NOT NULL default '',
      +  hostname varchar(128) NOT NULL default '',
      +  timestamp int(11) NOT NULL default '0',
      +  session text,
      +  KEY uid (uid),
      +  KEY sid (sid(4)),
      +  KEY timestamp (timestamp));
    2. "; + print "
    "; print update_page_footer(); } -- cgit v1.2.3