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. To do this:
- 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.
- There is a line near top of update.php that says
$access_check = TRUE;. Change it to
$access_check = FALSE;.
- As soon as the script is done, you must change the update.php script back to its original form to
$access_check = TRUE;.
- 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.