Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tholland on
I have set up drupal with a maintenace account, but when I login, drupal treats me as a user without administrative permissions so I cannot develop the site. What have I done wrong? I'm using Windows 7 home premium on a 64 bit laptop and running drupal 7.35
Best wishes
Tony Holland
Comments
Did you give the maintenace
Did you give the maintenace account the administrative role?
Thanks Nevets. I entered
Thanks Nevets. I entered the user name and password in the "Site Maintenanc Account" section of the "configure site" Set Up screen; do I need to do more?
I have no idea what you are
I have no idea what you are referring to, the is a "Site Maintenance" section under configuration, I do not see "Site Maintenance Account", what is the path?
Yeah, Site Maintenance is
Yeah, Site Maintenance is right.
There is not place for
There is not place for account or password on that page (at least with core).
Are you logging in as user 1 or a different user. If a different user, they need a role that has permission to access the site in maintenance mode.
I think we may be talking at
I think we may be talking at cross purposes. I have reinstalled drupal, created a database and run the drupal set up program, this takes you through a number of screens hoose profile", "Choose language" ... "Configure site" I have double checked the "Configure site" screen, which does in fact have a section headed "Site Maintenance Account".
I have now discovered that it works properly in Internet Explorer, but not in Firefox (my preferred browser).
Confirm Browser Difference
I've encountered the same problem tonight with Firefox preventing a log on as User 1 for a site I've just "transferred" from localhost (XAMPP on Windows 7) to a Bluehost shared virtual server account.
I can log on with Internet Explorer, but not with version 37.0 of Firefox. The site responds to Firefox with
"Access denied
You are not authorized to access this page."
Note that the Drupal 7.35 installation recognizes the User 1 username and passcode correctly; incorrect usernames and passcodes throw different errors.
Best Solution!!!
There is not place for account or password on that page (at least with core).
Are you logging in as user 1 or a different user. If a different user, they need a role that has permission to access the site in maintenance mode.
In my case, I'm accessing the
In my case, I'm accessing the [domain name]/user page from the Internet, which displays the username and password fields. This is the normal log on page seen from the Internet.
I'm definitely logging on with the correct user 1 username and passcode. Then, the "access denied" message is displayed and the URL that is displayed is [domain name]/user/1 (which is the URL for the user 1 page); meaning that Drupal followed through with allowing the log on, but denied access to content nonetheless.
As stated earlier, this occurs with Firefox, not Internet Explorer, and as such, this does not appear to be a problem with Drupal.
Edit to add...
Chrome browser works correctly also...