test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ekaup Friend
    #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 Friend
    ekaup Friend
    #506754

    Hi 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.
    ekaup

    swissa Friend
    #506758

    You 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>

    ekaup Friend
    #506763

    Thanks 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?


    1. 2013-09-23_1548
    Manos Moderator
    #506772

    Hi,

    Change the value of “block” from 1 to 0 and try again!

    ekaup Friend
    #506773

    SWISSA! This did the trick. Thank you so much for your help 🙂

Viewing 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