Index: update.php =================================================================== RCS file: /cvs/drupal/drupal/update.php,v retrieving revision 1.146 diff -u -r1.146 update.php --- update.php 7 Feb 2005 14:25:17 -0000 1.146 +++ update.php 4 Apr 2005 04:04:58 -0000 @@ -215,7 +215,14 @@ } 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 update.php to by-pass this access check; in that case, open update.php in a text editor and follow the instructions at the top."; + print "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 update.php to bypass this access check. \n

To do this:"; + print "\n

\n
    \n"; + print "
  1. 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.
  2. \n"; + print "
  3. There is a line near top of your update.php page that says \$access_check = \"TRUE\"; Change it to \$access_check = \"FALSE\";
  4. \n"; + print "
  5. As soon as the script is done, you must change the update.php script back to it's original form to \$access_check = \"TRUE\";
  6. \n"; + print "
  7. 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.
  8. \n"; + print "
\n"; + print update_page_footer(); } }