-
AuthorPosts
-
September 23, 2013 at 2:31 pm #190843
Hi, I made a terrible mistake in my back end by disable my admin access and then log out. Now my usual access doesn´t work. Can I fix this with ftp access or do I need to go to MySql ??
Please help
:((swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
September 23, 2013 at 3:03 pm #506751September 23, 2013 at 3:28 pm #506754Hi Swissa
I am afraid this doesn´t work since I didn´t forgot my password. I by accident disabled the super user account in the back end. I haven´t tried this method thoug but if I am certain this will work I will do that.
ekaupswissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
September 23, 2013 at 3:48 pm #506758You can try this method too
<blockquote>Add a New Super Administrator UserIf changing the password won’t work, or you aren’t sure which user is a member of the Super Administrator group, you can use this method to create a new user.
- Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
- Press the “SQL” button in the toolbar to run an SQL query on the selected database. This will display a field called “Run SQL query/queries on database <your database>”.
- Delete any text in this field and copy and paste one of the following queries and press the Go button to execute the query and add the new Administrator user to the table.
NOTE: The following code uses jos_ as the table name prefix which is the Joomla default table prefix If you elected to change this prefix when you first installed Joomla, you will need to change jos_ to the prefix you used.
SQL code for use with Joomla 2.5.x 3.1.x
INSERT INTO `jos_users`
(`name`, `username`, `password`, `params`)
VALUES ('Administrator2', 'admin2',
'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '');
INSERT INTO `jos_user_usergroup_map` (`user_id`,`group_id`)
VALUES (LAST_INSERT_ID(),'8');
At this point, you should be able to log into the back end of Joomla! with the username of “admin2” and password of “secret”. After logging in, go to the User Manager and change the password to a new secure value and add a valid e-mail address to the account. If there is a chance you have been “hacked”, be sure to check that all users are legitimate, especially any members of the Super Administrator group.</blockquote>September 23, 2013 at 4:09 pm #506763Thanks Swissa. I have accessed MySql and I get this picture. Can you lead me through?
One thing. When you say “Navigate to phpMyAdmin” do you mean I have to download the program?
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
September 23, 2013 at 5:36 pm #506773SWISSA! This did the trick. Thank you so much for your help 🙂
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by ekaup 11 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
I made a terrible mistake…..
Viewing 7 posts - 1 through 7 (of 7 total)