Joomla Admin Locked out - JAuthentication::__construct: Could not load authentication libraries
Recently I've locket myself out of Joomla Admin as I have accidentally disabled the Authentication - Joomla plug-in.
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.