I am a fairly new Drupal admin (complete and total noob). I was asked to take over the administration for a website because I'm "a computer guy", but I'm more of a hardware person.

The problem I'm having is with editing users. Once upon a time I was able to reset passwords for my users by going to 'Users' and clicking the 'edit' button next to the username. I can no longer do this. Now what I see when I click edit is this:

http://img215.imageshack.us/img215/2369/tadgaedituserissue.jpg

...or if you can't see the picture, there is nothing between the 'edit' tab ans the 'save' and 'cancel' buttons. IIRC, there used to be a password field and an email field at the least. How do i get these back?

Comments

yelvington’s picture

Look at the source code for the page. Is the form there? Is there perhaps bad HTML?

ambientdrup’s picture

When you are logged in as your "admin" account does that role you're logged in as have permissions set in Drupal to edit user accounts?

I would check the permissions on your admin role and make sure you have all the admin permissions you need.

I think it's the "administer users" permission set.

-backdrifting

pbarnett’s picture

Presumably you can still log in as the admin user; can you get to /admin/user/user ?

ejvogie’s picture

I only have one account on the site, and yes, i can get to /admin/user/user. I didn't start off being an admin right away, the previous admin just added the permissions to my account. I had been able previously to change passwords. I have tried adding an admin account to the site and using that, but it failed as well.

I am listed as an administrative user, and the permissions DO allow me to edit user accounts. I even tried to undo and redo the permission for this and it did not work. When I click 'edit' next to the user's name, I get directed here:

user/5/edit?destination=admin/user/user%3Fpage%3D22

The following is the source code for what is between the 'view', 'edit' and 'track' tabs; and the banner ad at the bottom from the picture linked in the OP:

</ul> 
</div>               <form action="/community/user/5/edit?destination=admin%2Fuser%2Fuser%3Fpage%3D22"  accept-charset="UTF-8" method="post" id="user-profile-form" enctype="multipart/form-data"> 
<div><input type="hidden" name="form_build_id" id="form-ba6593392ee89d418591ac31a6f81953" value="form-ba6593392ee89d418591ac31a6f81953"  /> 
<input type="hidden" name="form_token" id="edit-user-profile-form-form-token" value="157328027191c987bd37c0166ae54738"  /> 
<input type="hidden" name="form_id" id="edit-user-profile-form" value="user_profile_form"  /> 
<input type="submit" name="op" id="edit-submit" value="Save"  class="form-submit" /> 
<input type="submit" name="op" id="edit-delete" value="Delete"  class="form-submit" /> 
 
</div></form> 
<div class="block2a"><div class="block2b"> 
<div id="block-block-1" class="block block-block">

It's mostly jibberish to me. Like I said, I'm not a code monkey, I'm a hardware guy.

Hope this helps.

pbarnett’s picture

OK; do you have access to the database, via PhpMyadmin or some such?

The site admin id the user with user ID 1; if you have access to the database you can reset the password...

ejvogie’s picture

User 1 is who I took over from. It's a personal account with admin rights like mine, not a dedicated admin. I'd have to ask him about DB access. Moot point right now, I can't even get to the site.

pbarnett’s picture

You misunderstand - in Drupal, the user with ID 1 is the site admin and automatically has all the rights to everything... if you're logging in as that user and still don't have full access rights, there's something seriously wrong with the installation!

ejvogie’s picture

I'm not logging in as ID 1, admin rights were assigned to my ID (33 I think) at a later time. ID 1 is using that account as his personal account, so no, I don't have access to that account to administer the website. ID 1 is currently working as a camp counselor and doesn't have a lot of internet time.

If I updated this to 6.16 (we're currently at somewhere around 6.5, I think) might that fix the issue?

pbarnett’s picture

No, I'm not convinced that it will; you really need access to the ID 1 account...

m13’s picture

1. have you checked for

system module
access administration pages

?

and if you have checked, and you do have permissions to access administration pages then

2. you need to gain access to the database, check and repair all tables needed.