summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-01 21:55:19 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-01 21:55:19 +0000
commit7d9a74d49571ce946c3515ff6d6d06a7b3973ad8 (patch)
treeca6ba5d0a1426498d93ee8313ecf39c4b742499d /update.php
parent463ccb4df6e4cd0e80247588cc3184127739eb80 (diff)
downloadbrdo-7d9a74d49571ce946c3515ff6d6d06a7b3973ad8.tar.gz
brdo-7d9a74d49571ce946c3515ff6d6d06a7b3973ad8.tar.bz2
- Added a note about having to create the session table manually when
upgrading from Drupal 4.2.0.
Diffstat (limited to 'update.php')
-rw-r--r--update.php14
1 files changed, 13 insertions, 1 deletions
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
<link rel="stylesheet" type="text/css" media="print" href="misc/print.css" />
<style type="text/css" title="layout" media="Screen">
- @import url("misc/admin.css");
+ @import url("misc/drupal.css");
</style>
EOF;
$output .= "</head><body><a href=\"http://drupal.org/\">";
@@ -595,6 +595,18 @@ function update_info() {
print "<li><a href=\"update.php?op=update\">Upgrade to the latest version.</a></li>\n";
print "<li>Go through the various administration pages to change the existing and new settings to your liking.</li>\n";
print "</ol>";
+ print "Notes:";
+ print "<ol>";
+ print " <li>If you upgrade from Drupal 4.2.0, you have to create the <code>sessions</code> table manually before upgrading. After you created the table, you'll want to log in and immediately continue the upgrade. To create the <code>sessions</code> table, issue the following SQL command:<pre>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));</pre></li>";
+ print "</ol>";
print update_page_footer();
}