- Posts: 31
- Thank you received: 0
Kunena 6.3.5 released
The Kunena team has announce the arrival of Kunena 6.3.5 [K 6.3.5] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
Solved [Resolved] Fatal error: Call to a member function authorisedLevels() on a non-object in /administrator/components/com_kunena/libraries/integration/joomla16/access.php on line 57
- BLaCKie_MoRGaN
- Offline
- Junior Member
In addition logging in to the backend responds with
You do not have access to the administrator section of this site.
Please Log in or Create an account to join the conversation.
This issue has been a tricky one to identify what's caused the problem for a handful of people, or so it appears, and I don't know if it's a good suggestion or a workable fix to hack the file ../administrator/components/com_kunena/libraries/integration/joomla16/access.php. The reason I don't know is because this issue has only been reported by a handful of people and it either fixed itself (and that doesn't help the developers, does it) or it's really difficult to reproduce the problem. Further, I don't subscribe to hacking unless only as an absolute last resort.giveortake wrote: BTW I just noticed I posted in the "Archive" I hope it's OK :whistle:
Let's revisit the originally-stated cause of the problem and see if these conditions apply to you:
chris_z wrote:
So let's look at the issues here:I found the error occurred after waking my computer from sleep. With the web browser still open to the Kunena "Recent Topics" page I went to reload the page and got the 500 error. I hypothesize this has something to do with trying to reload the page with the original session long expired. Loading a different web browser on my computer, the page loaded with no error.
(1) The problem occurs intermittently.
(2) The problem seems to be time-related. This leads us to suspect that the problem is session-related. Assuming a "standard" Joomla setup, this is my standard response in these cases:
sozzled wrote:
What are your settings for
Turn off server caching and make Global Configuration session lifefime (in minutes) the same as Kunena session lifetime (in seconds). If Kunena session lifetime is 1800 seconds, make Global sessions lifetime = 30 minutes.
- Global Configuration » Server » Cache Settings » Cache
- Global Configuration » Server » Session Settings » Session Lifetime
- Forum Configuration » General » Basic Settings » Session Lifetime
In your case, giveortake, you have Kunena session lifetime is 9600 seconds. This may explain why you're having this issue.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
That's much more important but is has nothing to do with Kunena. Logging into your backend is a Joomla matter. Please refer your problem to the Joomla support forum for more advice.BLaCKie_MoRGaN wrote: In addition logging in to the backend responds with
You do not have access to the administrator section of this site.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- giveortake
- Offline
- New Member
- Posts: 7
- Thank you received: 0
it seemed to fit with the error message.
sozzled wrote: Let's revisit the originally-stated cause of the problem and see if these conditions apply to you:
(1) The problem occurs intermittently.
(2) The problem seems to be time-related. This leads us to suspect that the problem is session-related. Assuming a "standard" Joomla setup, this is my standard response in these cases:
I think that is where my troubles differ: I get the error messages in my logs every single time the forum page is browsed (by guest, user or admin), from clean browser (tested several) or not, even after rebooting the webserver, it looks like the session is not "seen" by kunena at all.I don't have any hack on joomla (from a clean install not an upgrade), and the session handler is joomla's default (database).
sozzled wrote:
What are your settings for
Turn off server caching and make Global Configuration session lifefime (in minutes) the same as Kunena session lifetime (in seconds). If Kunena session lifetime is 1800 seconds, make Global sessions lifetime = 30 minutes.
- Global Configuration » Server » Cache Settings » Cache
- Global Configuration » Server » Session Settings » Session Lifetime
- Forum Configuration » General » Basic Settings » Session Lifetime
In your case, giveortake, you have Kunena session lifetime is 9600 seconds. This may explain why you're having this issue.
I corrected the lifetime to match joomla, thank you for noticing this one. :blush:
I have encountered the errors using a variety of options:
-using APC
-using "file"
-using "xcache"
And also without cache and the system cache plugin disabled.
Following your advice I just disabled all cache again and matched the session time (30 min in joomla 1800 in Kunena), rebooted the server for good measure, fully cleaned my browser cache and displaying the forum page bring up the same errors in the log:
mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in ***/libraries/joomla/factory.php on line 224
mod_fcgid: stderr: PHP Notice: Undefined property: KunenaAccessJoomla16::$_state in ***/libraries/joomla/session/session.php on line 559
mod_fcgid: stderr: PHP Warning: session_destroy(): Trying to destroy uninitialized session in ***/libraries/joomla/session/session.php on line 576
mod_fcgid: stderr: PHP Fatal error: Call to a member function authorisedLevels() on a non-object in ***/administrator/components/com_kunena/libraries/integration/joomla16/access.php on line 57
It must be something else, I am lost.I can PM you the server's details if you need, I am completely stuck.Your help is greatly appreciated, thank you again.
Please Log in or Create an account to join the conversation.
APC - yes, we have problems with that one, too; requires a thorough understanding of caching to get APC to work properly and I leave those kinds of things to the experts. I just use straight, out-of-the-box, vanilla-flavoured Joomla (and the same for Kunena) and I turn off caching altogether. I hate to sound boastful but I rarely ever have a problem.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- giveortake
- Offline
- New Member
- Posts: 7
- Thank you received: 0
I agree APC was not playing nicely with joomla hence the switch to Xcache that really speeds things up (needed for my site with over 7k users), I have also tested without xcache (removed from php.ini AND joomla) after a reboot and had the same errors)
yes I have removed the hack and I still get the errors.
I uninstalled kunena+modules completely and reinstalled a fresh one with
Sample Data, so far so good no errors while browsing...I can't figure out why but hey, as long as it works
Will work on importing my phpbb3 forum this afternoon and report back. fingers crossed.
Please Log in or Create an account to join the conversation.
- giveortake
- Offline
- New Member
- Posts: 7
- Thank you received: 0
I will never find out what was wrong, my advice for the users
who have this issue: a clean re-install works.
Thank you again for your help.
Please Log in or Create an account to join the conversation.
500 Internal Server Error
a search here lead me to enable the debugging tool which gave me this message
so here I am... what do I do next?Fatal Error was detected!
Fatal Error: Call to a member function authorisedLevels() on a non-object in components/com_kunena/libraries/integration/joomla16/access.php on line 57
The error was detected in the Kunena Component.
For support click here: Kunena Support
my website is here
Please Log in or Create an account to join the conversation.
- Jiminimonka
- Offline
- Elite Member
- YBAS!
Please Log in or Create an account to join the conversation.
Answered in this topic.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.