JAuthentication::__construct: Could not load authentication libraries.
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Mar 25, 2010 9:45 pm
-
- Joomla! Apprentice
- Posts: 22
- Joined: Thu Mar 25, 2010 9:33 pm
Re: JAuthentication::__construct: Could not load authentication
+ + + + +So, when in phpMyAdmin:
1. Choose the database in question on the left panel / top.
2. Now, when looking at the database displayed, on the left panel, choose _plugins
3. Choose the Structure Tab > Edit the "published" Field (7th item down) and change "0" to "1"
4. Click "Save"
5. Go to the Browse Tab > id = 1 > name = Authentication-Joomla > Now, click on Edit pencil and change published = "1" and click on "Go" (save)
That should do ya...but if anyone has other suggestions to improve on this, fire away (this issue took me a couple hours to figure out, ohhh, I wish I paid attention in computer science class.
-John
I am following as instructed and I am in Myphpadmin.
I have made it all the way to step 2).
On step 3). I am currently idle in plugins searching for published. Which it does not show at all.
I am currently using the joomla 1.5 version if that helps any.
-
- Joomla! Apprentice
- Posts: 22
- Joined: Thu Mar 25, 2010 9:33 pm
Re: JAuthentication::__construct: Could not load authentication
LBsoftware wrote:This is a really old post - but the problem apparently keeps popping up!
REALLY glad this was posted 2 years ago. Thanks for the solutions above.
Setting the database table to 'published' worked like a charm!
Here's what I did:
- Log into PHP MyAdmin
- Find your Joomla Database
- Scroll down the list (on the left) until you see "jos_plugins"
On the right, you'll now see the BROWSE tab.
Click this.
Find "Authentication - Joomla"
Click the pencil icon (to edit)
Set the "Published" field to "1"
Hit the GO button.
Should work now.
Be really careful in PHP MyAdmin however.
Don't touch anything unless you know what you're doing.
Found it : published tinyint(3) No 1
Result:
* JAuthentication::__construct: Could not load authentication libraries.
* Username and password do not match
Now what???????
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Apr 13, 2010 9:35 pm
Re: JAuthentication::__construct: Could not load authentication
thanks for all these replies every issue someone had seemed to be mine too. So the solution worked. THANK YOU Joomla Community, your'e the best!
- AshrafSello
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Apr 21, 2010 1:46 am
- Location: Cairo, Egypt
- Contact:
Re: JAuthentication::__construct: Could not load authentication
Insomn3ak wrote:I fixed this issue for myself earlier today. I was receiving this error message because I inadvertently disabled the plugin "Authentication - Joomla" which I thought was for the front-end authentication. It turns out that it was for the admin authentication (not sure why anyone would want to disable this).
I went into the Joomla database, and changed it's published status to 1 in the "jos_plugins" table. After that, I was able to login without any problems.
You are very Brilliant man, Thank You Very Very Much.
- franco
- Joomla! Explorer
- Posts: 316
- Joined: Thu Aug 18, 2005 3:43 pm
- Contact:
Re: JAuthentication::__construct: Could not load authenticat
Perfect!!! Now, if only I can remember why I wanted to login on the backend to begin with.
~ A little imagination can go a long way ~
online at http:/francosantos.com, http://clinicalpsychotherapists.com, http://modernfamilyliving.com
online at http:/francosantos.com, http://clinicalpsychotherapists.com, http://modernfamilyliving.com
- cspgsl
- Joomla! Explorer
- Posts: 348
- Joined: Thu Nov 09, 2006 11:35 am
Re: JAuthentication::__construct: Could not load authenticat
Just a heads up to everyone - I had this happen to me but I did not disable the plugin in the back end.
This happened when I uninstalled the AEC component. It was a long time ago when I installed AEC and I do not remember all of the hacks that were applied but disabling the Authentication - Joomla plugin must have been one of them
This happened when I uninstalled the AEC component. It was a long time ago when I installed AEC and I do not remember all of the hacks that were applied but disabling the Authentication - Joomla plugin must have been one of them
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Oct 26, 2009 4:49 am
Re: JAuthentication::__construct: Could not load authenticat
I have tried every suggestion here and it is still not working any suggestions I get this message under the login JAuthentication::__construct: Could not load authentication libraries.
and this one at the top
* JAuthentication::__construct: Could not load authentication libraries.
* Username and password do not match
Ok I finally got something to work except now when I login the fields in the login goes blank and nothing happens
and this one at the top
* JAuthentication::__construct: Could not load authentication libraries.
* Username and password do not match
Ok I finally got something to work except now when I login the fields in the login goes blank and nothing happens
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jul 19, 2010 12:22 pm
Re: JAuthentication::__construct: Could not load authenticat
I am very happy to have found this thread!! Thank you so much to all who posted advice - you are just brilliant!
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 17, 2010 12:32 am
Re: JAuthentication::__construct: Could not load authenticat
thank you so much
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jul 20, 2010 5:22 pm
Re: JAuthentication::__construct: Could not load authenticat
Hi I read all your post but I don't know in which folder is the database file I should edit. Please can anyone tell me.
Thank you very much in advance
Thank you very much in advance
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jun 23, 2010 7:52 pm
Re: JAuthentication::__construct: Could not load authenticat
So I am having this problem too but my issue is that when I log in to phpMyAdmin my database has no tables. However my site is still running so obviously my db has tables. Has anyone encountered this problem before? How can I get Joomla to repopulate my database without logging in to the backend?
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Oct 14, 2009 9:52 pm
- Location: Panama
- Contact:
Re: JAuthentication::__construct: Could not load authenticat
Well, not everyone can log into the database and fix the issue. Sometimes, all we have is FTP. It happened to me while working for a customer. NO DATABASE ACCESS.
See, sometimes you may want to disable the authentication plugin in order to use the JFusion authentication plugin, which allows you to log into PHPBB, etc at the same time you log yourself into Joomla.
This is how you solve the problem without a database. Careful, though, it is risky. For one, your Joomla version may be different than the one on the server. Here it goes:
Find the plugin helper file. It is at libraries/joomla/plugin/helper.php
Now find this code:
if (isset($user))
{
$aid = $user->get('aid', 0);
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' AND access <= ' . (int) $aid
. ' OR folder=\'authentication\'' //**************add this line
. ' ORDER BY ordering';
}
else
{
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' OR folder=\'authentication\'' //*********add this line
. ' ORDER BY ordering';
}
That should do the trick, but don't forget to change the file back to the way it was and careful, since your Joomla version may be different than the one on the FTP server.
See, sometimes you may want to disable the authentication plugin in order to use the JFusion authentication plugin, which allows you to log into PHPBB, etc at the same time you log yourself into Joomla.
This is how you solve the problem without a database. Careful, though, it is risky. For one, your Joomla version may be different than the one on the server. Here it goes:
Find the plugin helper file. It is at libraries/joomla/plugin/helper.php
Now find this code:
Now, what you need to do is force Joomla to upload those plugins that are used for authentication even though they haven't been published:if (isset($user))
{
$aid = $user->get('aid', 0);
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' AND access <= ' . (int) $aid
. ' ORDER BY ordering';
}
else
{
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' ORDER BY ordering';
}
if (isset($user))
{
$aid = $user->get('aid', 0);
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' AND access <= ' . (int) $aid
. ' OR folder=\'authentication\'' //**************add this line
. ' ORDER BY ordering';
}
else
{
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' OR folder=\'authentication\'' //*********add this line
. ' ORDER BY ordering';
}
That should do the trick, but don't forget to change the file back to the way it was and careful, since your Joomla version may be different than the one on the FTP server.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Oct 31, 2010 12:24 pm
Re: JAuthentication::__construct: Could not load authenticat
I had the same problem. I tried everythig but did not help. Then I noticed that there are TWO similar tables in my DB. 1 was with jos_ prefix and the other with myprefix_ . I do the same with second table and it works. !
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Nov 03, 2010 10:13 am
Re: JAuthentication::__construct: Could not load authenticat
hello everyone,
i m newbie for Joomla, I get this error message too.
I have tried to do it follow your instruction such as change the field, publish to 1 for
Authentication - Joomla" and "User - Joomla" but I still can not log in to my site.
I get the problem after I installed phpBB3 and then installed JFusion yesterday. Yesterday it worked, i could log in to my site but for today why I can not log in to my joomla site?
Please help ! I see this post was in 2008, Hope anyone reply me soon
thanks so much
suwanna
i m newbie for Joomla, I get this error message too.
I have tried to do it follow your instruction such as change the field, publish to 1 for
Authentication - Joomla" and "User - Joomla" but I still can not log in to my site.
I get the problem after I installed phpBB3 and then installed JFusion yesterday. Yesterday it worked, i could log in to my site but for today why I can not log in to my joomla site?
Please help ! I see this post was in 2008, Hope anyone reply me soon
thanks so much
suwanna
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Oct 24, 2010 5:20 am
Re: JAuthentication::__construct: Could not load authenticat
Thank You Every Body Here for Wondeer Full Tip.
Its Works for me
Its Works for me
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Oct 12, 2010 3:16 am
Re: JAuthentication::__construct: Could not load authenticat
Awesome! Well, the fix is "awesome"... anyone know why/when/how this happens?
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Dec 03, 2010 4:15 pm
Re: JAuthentication::__construct: Could not load authenticat
Thank you very much for this fix.rpcarnell wrote:Well, not everyone can log into the database and fix the issue. Sometimes, all we have is FTP. It happened to me while working for a customer. NO DATABASE ACCESS.
See, sometimes you may want to disable the authentication plugin in order to use the JFusion authentication plugin, which allows you to log into PHPBB, etc at the same time you log yourself into Joomla.
This is how you solve the problem without a database. Careful, though, it is risky. For one, your Joomla version may be different than the one on the server. Here it goes:
Find the plugin helper file. It is at libraries/joomla/plugin/helper.php
Now find this code:
Now, what you need to do is force Joomla to upload those plugins that are used for authentication even though they haven't been published:if (isset($user))
{
$aid = $user->get('aid', 0);
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' AND access <= ' . (int) $aid
. ' ORDER BY ordering';
}
else
{
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' ORDER BY ordering';
}
if (isset($user))
{
$aid = $user->get('aid', 0);
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' AND access <= ' . (int) $aid
. ' OR folder=\'authentication\'' //**************add this line
. ' ORDER BY ordering';
}
else
{
$query = 'SELECT folder AS type, element AS name, params'
. ' FROM #__plugins'
. ' WHERE published >= 1'
. ' OR folder=\'authentication\'' //*********add this line
. ' ORDER BY ordering';
}
That should do the trick, but don't forget to change the file back to the way it was and careful, since your Joomla version may be different than the one on the FTP server.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Dec 13, 2010 10:10 am
Re: JAuthentication::__construct: Could not load authenticat
This solution worked for me thx ***** star!blueyemen wrote:This may also help:
I use the version Joomla! 1.5.6
In my case changing the permission of the "Authentication - Joomla" table wasn't enough. I also had to change the permission of the "User - Joomla" to.
Booth "Authentication - Joomla" and "User-Joomla" must have the Published propertie set to 1.
I hope that could help someone.
Regards.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Oct 14, 2010 10:40 pm
Re: JAuthentication::__construct: Could not load authenticat
Hello Everyone!
Thanks for all of this useful information...
I am having a little trouble
I have created my Joomla! site in LOCALHOST using MAMP. I am having this same error
* JAuthentication::__construct: Could not load authentication libraries.
* Username and password do not match
How can i fix this using my localhost? i.e. what file do i go into to change 0 to 1 as advise above as i cant go into a control panel....
Hope i make sense. Thank you so much
Thanks for all of this useful information...
I am having a little trouble
I have created my Joomla! site in LOCALHOST using MAMP. I am having this same error
* JAuthentication::__construct: Could not load authentication libraries.
* Username and password do not match
How can i fix this using my localhost? i.e. what file do i go into to change 0 to 1 as advise above as i cant go into a control panel....
Hope i make sense. Thank you so much
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Dec 16, 2010 9:33 am
Re: JAuthentication::__construct: Could not load authenticat
help me bro, i tried all of your suggestions but i'm still can't login to my joomla back end
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jan 05, 2011 4:25 pm
Re: JAuthentication::__construct: Could not load authenticat
blueyemen wrote:This may also help:
I use the version Joomla! 1.5.6
In my case changing the permission of the "Authentication - Joomla" table wasn't enough. I also had to change the permission of the "User - Joomla" to.
Booth "Authentication - Joomla" and "User-Joomla" must have the Published propertie set to 1.
I hope that could help someone.
Regards.
THANKS!! it works...DesignGuy wrote:See the note below, I believe this helpful person meant "change from 0 to 1." I followed other instructions in this thread, but still had the same issue. Then, I followed the advice below, changing the "published" toggle under Authentication - Joomla, from ZERO to ONE, and it's back to work for me.
So, when in phpMyAdmin:
1. Choose the database in question on the left panel / top.
2. Now, when looking at the database displayed, on the left panel, choose _plugins
3. Choose the Structure Tab > Edit the "published" Field (7th item down) and change "0" to "1"
4. Click "Save"
5. Go to the Browse Tab > id = 1 > name = Authentication-Joomla > Now, click on Edit pencil and change published = "1" and click on "Go" (save)
That should do ya...but if anyone has other suggestions to improve on this, fire away (this issue took me a couple hours to figure out, ohhh, I wish I paid attention in computer science class.
-John
+ + + + +
Re: JAuthentication::__construct: Could not load authentication libraries.
Postby linuxuk on Sat Jan 26, 2008 4:29 pm
hey
Is all fixed I went to Joomla DB using phpMYAdmin click on SQL tag and where is the Authentication Joomla Table
click there and find the published section and change to 1 from 0 and all working fine again,
THANKS Insomn3ak FOR THE TIP
really helps alot
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Sep 27, 2010 12:04 am
Re: JAuthentication::__construct: Could not load authenticat
cheers guys it worked like a treat
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jan 25, 2011 4:13 pm
- Location: Chicago
- Contact:
Re: JAuthentication::__construct: Could not load authenticat
Thank you Insomn3ak!Insomn3ak wrote:I fixed this issue for myself earlier today. I was receiving this error message because I inadvertently disabled the plugin "Authentication - Joomla" which I thought was for the front-end authentication. It turns out that it was for the admin authentication (not sure why anyone would want to disable this).
I went into the Joomla database, and changed it's published status to 1 in the "jos_plugins" table. After that, I was able to login without any problems.
You made the difference in my life.
Regards,
Dacy
Last edited by mandville on Tue Jan 25, 2011 7:52 pm, edited 1 time in total.
Reason: signature against forum rules
Reason: signature against forum rules
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Jan 28, 2011 5:22 am
Re: JAuthentication::__construct: Could not load authenticat
blueyemen
Thanks for your reply, you saved me dude, i'm new to joomla and was really in deepshit. U'r solution helped me.
Thanks for your reply, you saved me dude, i'm new to joomla and was really in deepshit. U'r solution helped me.
-
- Joomla! Apprentice
- Posts: 37
- Joined: Thu Oct 06, 2005 8:13 pm
Re: JAuthentication::__construct: Could not load authenticat
ok, after a database crash i'm getting this error when trying to login to admin control.
JAuthentication::__construct: Could not load authentication libraries
I've check the post here and i have changed the state of the published status to 1 in the "jos_plugins" table (it was 0), but no change.
I don't have a "Authentication - Joomla" row in my _plugins table, but i do have...
Authentication - LDAP
Authentication - GMail
Authentication - OpenID
all of which have published set to 0
I have tried upgrading to 1.15.22 from 1.15.14, but i can't remember the install instructions and after ftping the files and overwriting, if i'm supposed to run the INSTALL.php file i just get a blank page with "Restricted access".
any help apprecitated, thanks in advance.
JAuthentication::__construct: Could not load authentication libraries
I've check the post here and i have changed the state of the published status to 1 in the "jos_plugins" table (it was 0), but no change.
I don't have a "Authentication - Joomla" row in my _plugins table, but i do have...
Authentication - LDAP
Authentication - GMail
Authentication - OpenID
all of which have published set to 0
I have tried upgrading to 1.15.22 from 1.15.14, but i can't remember the install instructions and after ftping the files and overwriting, if i'm supposed to run the INSTALL.php file i just get a blank page with "Restricted access".
any help apprecitated, thanks in advance.
- mandville
- Joomla! Master
- Posts: 15150
- Joined: Mon Mar 20, 2006 1:56 am
- Location: The Girly Side of Joomla in Sussex
Re: JAuthentication::__construct: Could not load authenticat
how?gokhan198 wrote:last week i also meet this problem but solved it myself.
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
-
- I've been banned!
- Posts: 36
- Joined: Fri Feb 04, 2011 12:19 pm
Re: JAuthentication::__construct: Could not load authenticat
i thnik best way for solving this problem is :mandville wrote:how?gokhan198 wrote:last week i also meet this problem but solved it myself.
In my case changing the permission of the "Authentication - Joomla" table wasn't enough. I also had to change the permission of the "User - Joomla" to.
Booth "Authentication - Joomla" and "User-Joomla" must have the Published propertie set to 1.
i do it and solved my problem
thanks from blueyemen that helpedto me.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Apr 25, 2010 6:18 am
Re: JAuthentication::__construct: Could not load authenticat
Well, I did the same thing everyone else did, I disabled the Authentication-Joomla plug-in... only problem with fixing it was that I'm using Joomla 1.6. In Joomla 1.6 you need to do this:
go to jos_extensions table (not jos_plugins)
find this record and change the bold items to these values:
extension_id 401
name plg_authentication_joomla
type plugin
element joomla
folder authentication
client_id 0
enabled 1
access 1
protected 1
manifest_cache
params {}
custom_data
system_data
checked_out 0
checked_out_time 0000-00-00 00:00:00
ordering
state 1
---
find this record and change the bold items to these values:
extension_id 432
name plg_user_joomla
type plugin
element joomla
folder user
client_id 0
enabled 1
access 1
protected 0
manifest_cache
params {"autoregister":"1"}
custom_data
system_data
checked_out 0
checked_out_time 0000-00-00 00:00:00
ordering 2
state 1
I changed just ENABLED and ACCESS at first and no dice. Nothing helped until I changed state to '1' on both of them.
go to jos_extensions table (not jos_plugins)
find this record and change the bold items to these values:
extension_id 401
name plg_authentication_joomla
type plugin
element joomla
folder authentication
client_id 0
enabled 1
access 1
protected 1
manifest_cache
params {}
custom_data
system_data
checked_out 0
checked_out_time 0000-00-00 00:00:00
ordering
state 1
---
find this record and change the bold items to these values:
extension_id 432
name plg_user_joomla
type plugin
element joomla
folder user
client_id 0
enabled 1
access 1
protected 0
manifest_cache
params {"autoregister":"1"}
custom_data
system_data
checked_out 0
checked_out_time 0000-00-00 00:00:00
ordering 2
state 1
I changed just ENABLED and ACCESS at first and no dice. Nothing helped until I changed state to '1' on both of them.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Mar 05, 2011 6:06 am
Re: JAuthentication::__construct: Could not load authenticat
I had the same error "JAuthentication:_construct: Could not load authentication libraries", but fixed it with another solution I haven't yet seen mentioned.
I have been working on this for 9 hours, and I finally went to another database I had for another site, compared the settings for mySQL database and discovered the error. I also reuploaded the Plugins folder (after I copied the original). I tested the login after I uploaded the Plugins, but I had the same issue.
My mySQL settings that work in my jos_plugins are now:
id name element folder access ordering published iscore
1 Authentication - Joomla joomla authentication 0 1 1 1
For me, my "Access" had been changed to 2 on the Authentication - Joomla table.
Also on the User - Joomla table my "Access" had been changed to 1.
I set the Authentication - Joomla table "Access" to "0" and then all I got was a login-password error.
As soon as I set the User - Joomla table to "0", it worked fine. I logged in, but it took 3 times. Perhaps the cache needed to be cleared out. (I also reset the password - hash tags.)
But thank you all so much for getting me on the right track.
I have been working on this for 9 hours, and I finally went to another database I had for another site, compared the settings for mySQL database and discovered the error. I also reuploaded the Plugins folder (after I copied the original). I tested the login after I uploaded the Plugins, but I had the same issue.
My mySQL settings that work in my jos_plugins are now:
id name element folder access ordering published iscore
1 Authentication - Joomla joomla authentication 0 1 1 1
For me, my "Access" had been changed to 2 on the Authentication - Joomla table.
Also on the User - Joomla table my "Access" had been changed to 1.
I set the Authentication - Joomla table "Access" to "0" and then all I got was a login-password error.
As soon as I set the User - Joomla table to "0", it worked fine. I logged in, but it took 3 times. Perhaps the cache needed to be cleared out. (I also reset the password - hash tags.)
But thank you all so much for getting me on the right track.