- Posts: 6
COMMUNITY FORUM
Error: Class 'K2Table' not found in k2user.php
- MaTsch
- Topic Author
- Offline
- New Member
Less
More
11 years 11 months ago #105023
by MaTsch
Error: Class 'K2Table' not found in k2user.php was created by MaTsch
Hi guys!
I searched for help in the forum, but didn't find a solution yet... I use Joomla v2.5.7 (with Community Builder v1.8.1). I upgraded K2 from v2.5.7 to v2.6.1 and all my registered visitors got that fatal error ("Fatal error: Class 'K2Table' not found in xxx/administrator/components/com_k2/tables/k2user.php on line 13").
If I clear my browser's cache and cookies the site works as intented. But the error can be reproduced with the following three steps:
1.) Check the box "Remember Me" and log in.
2.) Close your browser while being logged in.
3.) Open your browser and visit the site again. The error message appears again.
I can get rid of that error again and again by clearing my browser's cache and cookies as stated above. But that error will come back after closing my browser while being logged in. For me it seems like an error with the cookies... A new install of the version 2.6.1 didn't help. Any idea how to fix that? Thanks in advance!
I searched for help in the forum, but didn't find a solution yet... I use Joomla v2.5.7 (with Community Builder v1.8.1). I upgraded K2 from v2.5.7 to v2.6.1 and all my registered visitors got that fatal error ("Fatal error: Class 'K2Table' not found in xxx/administrator/components/com_k2/tables/k2user.php on line 13").
If I clear my browser's cache and cookies the site works as intented. But the error can be reproduced with the following three steps:
1.) Check the box "Remember Me" and log in.
2.) Close your browser while being logged in.
3.) Open your browser and visit the site again. The error message appears again.
I can get rid of that error again and again by clearing my browser's cache and cookies as stated above. But that error will come back after closing my browser while being logged in. For me it seems like an error with the cookies... A new install of the version 2.6.1 didn't help. Any idea how to fix that? Thanks in advance!
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 11 months ago #105024
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Error: Class 'K2Table' not found in k2user.php
Hi. Just tested and i cannot reproduce the issue. Are you using mod_login, mod_k2_user or mod_cblogin to perform the login?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- MaTsch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 11 months ago #105025
by MaTsch
Replied by MaTsch on topic Re: Error: Class 'K2Table' not found in k2user.php
Hi Lefteris!
I user mod_cblogin (the login module of the Community Builder). The other two (mod_login and k2_user) are un-published...
I user mod_cblogin (the login module of the Community Builder). The other two (mod_login and k2_user) are un-published...
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 10 months ago #105026
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Error: Class 'K2Table' not found in k2user.php
Hi. I still cannot reproduce the issue. Have you reported this to the CB forums?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- MaTsch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 10 months ago - 11 years 10 months ago #105027
by MaTsch
Replied by MaTsch on topic Re: Error: Class 'K2Table' not found in k2user.php
Not yet, since I think it's a bug of K2. With version 2.5.7 of K2 it works as intended. I will try to reorder my system plug-ins (
this thread
gave me an idea) and report back then.
Please Log in or Create an account to join the conversation.
- Jasper
- Offline
- New Member
Less
More
- Posts: 7
11 years 10 months ago #105028
by Jasper
Replied by Jasper on topic Re: Error: Class 'K2Table' not found in k2user.php
Same issue here with same error in log.
After a user has been logged in. session expired and then logges in again the errror comes up!
User IS available in the K2 users database.
I have set k2 system plugin to -1 and i'll test more.
When i know more i'll post it here
Jasper
After a user has been logged in. session expired and then logges in again the errror comes up!
User IS available in the K2 users database.
I have set k2 system plugin to -1 and i'll test more.
When i know more i'll post it here
Jasper
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 10 months ago #105029
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Error: Class 'K2Table' not found in k2user.php
@Jasper
Is the issue solved? Please provide some feedback on this.
Is the issue solved? Please provide some feedback on this.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jasper
- Offline
- New Member
Less
More
- Posts: 7
11 years 10 months ago #105030
by Jasper
Replied by Jasper on topic Re: Error: Class 'K2Table' not found in k2user.php
When re-ordering the plugins it is "solved". Although i don't think this should matter.
Jasper
Jasper
Please Log in or Create an account to join the conversation.
- MaTsch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 8 months ago #105031
by MaTsch
Replied by MaTsch on topic Re: Error: Class 'K2Table' not found in k2user.php
It worked! Setting the K2 plugin to "-1" in its order solved the problem for me as well.
(Sorry for the late reply, guys. I didn't have the time to install and test it until today.)
(Sorry for the late reply, guys. I didn't have the time to install and test it until today.)
Please Log in or Create an account to join the conversation.
- MaTsch
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 8 months ago - 11 years 8 months ago #105032
by MaTsch
Replied by MaTsch on topic Re: Error: Class 'K2Table' not found in k2user.php
Well, to be more precise, the K2 plugin has to be loaded BEFORE the "Remember Me" plugin. It works then, but the "Remember Me" function is broken after changing the plugins' order. Your browser will forget you were logged in after you have closed it (even if the user checked "Remember Me" box on login).
Does anybody know how this can be fixed?
My configuration:
Joomla! v2.5.8
Community Builder v1.9
K2 v2.6.2
Kunena v2.0.3
Does anybody know how this can be fixed?
My configuration:
Joomla! v2.5.8
Community Builder v1.9
K2 v2.6.2
Kunena v2.0.3
Please Log in or Create an account to join the conversation.