I've tried this from the apple website, maybe it can help others...
Symptoms
After performing an upgrade installation (the default type) of Mac OS X 10.5 Leopard, an administrator account may change to a standard one.
Products Affected
Mac OS X 10.5
Resolution
1. Start from your Mac OS X 10.5 Install DVD. (You do not need to install Leopard again.)
2. From the Utilities menu, choose Reset Password (do not choose Firmware Password Utility).
3. Follow the onscreen instructions to reset the root password (the root account is not the same as your account). Specifically: Select the name of the drive that Mac OS X is installed on, select the user named "System Administrator (root)" from the pop-up menu, type the password in the first field, re-enter the password in the second field, then click the Save button.
4. Restart from your Mac OS X Leopard volume.
5. When the login window appears, select "Other..." and log in as the root user using the password that was created above. Note: If Mac OS X automatically logs in, choose Log Out (name) from the Apple menu to get to the login window.
6. Go to Accounts preferences and check (enable) "Allow user to administer this computer" for the affected user.
7. From the Apple menu, choose Log Out root....
8. Log in as the user account that had this issue. (Your account should now have administrator access.)
9. Use Directory Utility to disable the root user via Directory Utility's Edit menu. You may need to click the lock icon first).
This didn't work for me since i don't know what the login for the root acount is
I've tried
System Administrator
System Administrator (root)
Administrator
root
(root)
as user names with the new password and none of them work
QUOTE (chrishelms @ Oct 26 2009, 09:00 AM)

try to create a new account with administrator rights
mabe this will fix it
I can't, it ask's for a password and everytime i type in my username and password it doesn't work, my account has went from an admin to standard user, can't change it