Joomla Admin Locked out-JAuthentication

joomla box

Recently I’ve locket myself out of Joomla Admin as I have accidentally disabled the Authentication – Joomla plug-in – JAuthentication.  Joomla Admin was locked out.

 

When I tried to login to Joomla Backend with my Administrator account I’ve received the following error:

JAuthentication ::__construct: Could not load authentication libraries. Username and password do not match.

To solve this I had to edit the Joomla database table to enable Authentication – Joomla plug-in.

Here’s how to do it:

Login to you CPanel | On the home page scroll down to Databases and open phpMyAdmin

In the left pane of phpMyAdmin select your Joomla Database. From the same pane, select jos_plugins table

Now click on the pencil item to edit Authentication – Joomla row

In the ‘Published‘ row change the value from 0 to 1

Make sure that Save is selected from the dropdown list and click the Go button.

That’s it, you should be able to login to Joomla admin now

NOTE: Once I’ve changed that, I still couldn’t login to Joomla Admin. The reason for this is that I had jos_plugins and bak_plugins tables. Once I changed the value for the bak_plugins table I was able to login.

In my case, duplicate tables exist because I’ve migrated from 1.0 to 1.5.

Comments are welcome.

You may also like...

38 Responses

  1. Giovanni says:

    Very thanks for this great solution. You saved me.

  2. Urs says:

    THANK YOU GUYS!!!

  3. Ratan says:

    I have already problem in 1.5.x
    no Authentication – Joomla row

    jos_plugins>published row> pencil icon > default value 0 to 1>save>go.

    But still same

    Ratan

  4. Ebi says:

    unfortunately i can’t find jos_plugins table
    my joomla version is 1.7
    pls help me

  5. Nik says:

    Make sure you have selected the Joomla DataBase on the left.
    You can also use filter tables by name box to search for the plugin.

  6. will says:

    I also have this problem…but I am also on joomla 1.7 so cannot find the right row in the database. Any help?

  7. mesenotes says:

    Thanks!!! very good note!

  8. deki says:

    Thank you very, very much!!!!

  9. almojahed says:

    it was very helpful thanx alot

  10. harish says:

    Hi,

    I have looked through the whole forum but did not find this specific concern back.

    I have installed Joomla! 1.5 RC3 without any problem. I also managed to build my website, no problems so far.

    But now, I have no idea what happened but suddenly I could not log-in at back- and front end anymore. The following error is displayed.

    * JAuthentication::__construct: Could not load authentication libraries.
    * Username and password do not match

    I have uploaded all files again (except the installation files) again however, without positive result.

    Does anyone have an idea how to solve this issue?

    Thank you in advance.

    harish

  11. Guest says:

    i have looked….this page help me lot…thanks to admin…keep good wroking….than k a lot

  12. Ivan says:

    I turn on the “User – Joomla!”
    (published=0 to published=1)
    Joomla Version 1.5.15

  13. Ron says:

    I entered the database name but cannot see the table called plugins anywhere. Any ideas in 2.5?

  14. Ron says:

    Do you know where the authentication table is at in Joomla 2.54? I don’t seem to see any table named Plugin…

  15. Ron says:

    Regretfully no,
    that is my whole problem.
    When you go to the code for the plugins it seems to use the newer (salt)ed passwrods and it has a helper, but again no reference to where the table is at…ha

    JAuthentication: :__construct: Could not load authentication libraries.

    This is what I get at the admin login…

    I even tried changing the code of the Joomla Authentication php to be SUCCESS for all instances of login, but it still failed.

  16. Reto says:

    thanks a lot! that helped me out of the disaster ! 😉

    Aloha

    Reto

  17. Ron says:

    Well thanks to Emil who
    has a classified ad extension, I was able to get back into the admin.

    But, I had to do a search for the exact tables in PHPmyAdmin selecting the main database 1st in Joomla 2.54
    I then had to go into the users table and reset the password hash for some reason…

    If you are attempting this, I suggest you pay close attention to the field (State) being set to 1, versus 0.

    Select your Joomla database, find “_extensions” table.
    go to page 3 or 4.

    find this record and change the bold items to these values:
    extension_id 401
    name plg_authentication_joomla

    enabled 1
    access 1
    protected 1

    state 1

    Also find this record and change the bold items to these values:
    extension_id 432
    name plg_user_joomla

    enabled 1
    access 1
    protected 0

    state 1

  18. smrmn says:

    hello friends
    i have save problem with my joomla! 😥
    error: [u]JAuthentication: :__construct[/u]
    my joomla ver: 2.5
    i can’t find any table with name “plugin”.
    is there anyone that help me? 🙁

  19. smrmn says:

    thank you Buddha! 😀

  20. ali says:

    This was a life-saver. thank you 🙂

  21. Joomla girl says:

    Thank you. 🙂
    My problem was solved and I just had to change access from 0 to 1:
    find this record and change the bold items to these values:
    extension_id 401
    name plg_authenticat ion_joomla
    enabled 1
    access 1
    protected 1

  22. sam says:

    🙁 still having problemz

  23. ruchit says:

    Cool Ron thanks it helped me and now working fine!

  24. programer says:

    i loooooove you, you reject my life 😆

  25. Thanks for the info, save my time. 😆

  26. richard says:

    Muchísimas gracias amigo me sirvió su información

  27. Helder says:

    I can’t find the jos_plugins

  28. Gravediga says:

    🙂 Thank you !!!!

  29. Vitalicus says:

    Mysql… Find “Extantions” table.

    In extantions table, go to page 3 or 4, and find there “plg_authentication_joomla” – enaible it from 0 to 1.

  30. Thank you for sharing this useful tips

  31. Kim says:

    I received this same error. I logged into my phpmyadmin and its says that I have 0 tables. I try and search for tables and nothing comes up. Any new suggestions?

  32. True Pirate says:

    thanks

  33. petter says:

    Thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *

nineteen − eleven =