Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: hilldomain - helmikuu 11, 2005, 10:21:39 AP

Otsikko: I cant get into my admin page- i set all users with admin privilages
Kirjoitti: hilldomain - helmikuu 11, 2005, 10:21:39 AP
when I set the whole thing up I made a user named "user" after a while I logged out and I cant get in the admin page now- Can I edit a php file in the root folder so I can get back in?
Otsikko: Re: I cant get into my admin page- i set all users with admin privilages
Kirjoitti: Oldiesmann - helmikuu 11, 2005, 11:50:07 AP
Run this query in phpMyAdmin:

UPDATE smf_members SET ID_GROUP = '1' WHERE memberName = 'user';

Just replace "smf_" with whatever database prefix you used.