summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-06 19:04:02 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-06 19:04:02 +0000
commit2252aacc7cc42d400af18605a58352ed2bb5026b (patch)
tree06b983ede894a721ce13c312489e7a99ca0f18ac /update.php
parent97bfa01725f1a1b7679b2c90045bd4fc6a758da5 (diff)
downloadbrdo-2252aacc7cc42d400af18605a58352ed2bb5026b.tar.gz
brdo-2252aacc7cc42d400af18605a58352ed2bb5026b.tar.bz2
- Modified patch #19941 by willmoy: improve upgrade instructions.
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php
index ebfa650a2..aae141d4c 100644
--- a/update.php
+++ b/update.php
@@ -215,7 +215,14 @@ if (isset($_GET["op"])) {
}
else {
print update_page_header("Access denied");
- print "Access denied. You are not authorized to access to this page. Please log in as the user with user ID #1. If you cannot log-in, you will have to edit <code>update.php</code> to by-pass this access check; in that case, open <code>update.php</code> in a text editor and follow the instructions at the top.";
+ print "<p>Access denied. You are not authorized to access this page. Please log in as the admin user (the first user you created). If you cannot log in, you will have to edit <code>update.php</code> to bypass this access check. To do this:</p>";
+ print "<ol>";
+ print " <li>With a text editor find the update.php file on your system. It should be in the main Drupal directory that you installed all the files into.</li>";
+ print " <li>There is a line near top of update.php that says <code>\$access_check = TRUE;</code>. Change it to <code>\$access_check = FALSE;</code>.</li>";
+ print " <li>As soon as the script is done, you must change the update.php script back to its original form to <code>\$access_check = TRUE;</code>.</li>";
+ print " <li>To avoid having this problem in future, remember to log in to your website as the admin user (the user you first created) before you backup your database at the beginning of the update process.</li>";
+ print "</ol>";
+
print update_page_footer();
}
}