Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

The error code HTTP 500 Internal Server Error is a general-purpose message this indicates a general error in a web application. Please note that there is no general solution for this general error. You should first read HTTP 500 Internal Server Error before posting in this category.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question 500 Internal Server Error

More
13 years 9 months ago #128552 by thepiston
Replied by thepiston on topic 500 Internal Server Error
i had same issue. happened when I was logged out. i logged in and it was fine. logged out and it was fine. not sure what that means but thought i'd share.
The topic has been locked.
More
13 years 9 months ago #128867 by Matias
Replied by Matias on topic 500 Internal Server Error
I think I found the issue from Joomla! 2.5.

Here's our bug report from it (need to find workaround for Kunena):
github.com/Kunena/Kunena-2.0/issues/976
The topic has been locked.
More
13 years 9 months ago #128886 by Matias
Replied by Matias on topic 500 Internal Server Error
Issue can be fixed by replacing plugins/kunena/joomla/access.php on lines 196-197:
Code:
public function authoriseCategories($userid, array &$categories) { $user = JFactory::getUser($userid);


with the following code:
Code:
public function authoriseCategories($userid, array &$categories) { $user = JFactory::getUser($userid); // WORKAROUND: Joomla! 2.5.6 bug returning NULL if $userid = 0 and session is corrupted. if (!($user instanceof JUser)) { $user = JUser::getInstance(); }

After that Kunena doesn't crash on fatal error, but there might be something else going on, like corrupted session, which could cause other issues.
The following user(s) said Thank You: foxter
The topic has been locked.
More
13 years 9 months ago #128916 by foxter
Replied by foxter on topic 500 Internal Server Error
ok, I add one more line :P
Code:
public function authoriseCategories($userid, array &$categories) { $user = JFactory::getUser($userid); if (!($user instanceof JUser)) { $user = JUser::getInstance(); } if(is_null($user)){jimport('joomla.session.session');JSession::destroy();}/*add for sure*/ $accesslevels = (array) $user->authorisedLevels(); $groups_r = (array) JAccess::getGroupsByUser($user->id, true); $groups = (array) JAccess::getGroupsByUser($user->id, false);
The topic has been locked.
More
13 years 9 months ago #129328 by vollach
Replied by vollach on topic 500 Internal Server Error
Is there a version of the workaround here for kunena 1.7.2?, I checked the relevant thread about the problem in the kunena 1.7 support forum but there was nothing like that there and I have that very same issue on my kunena 1.7.2 forum.
The topic has been locked.
More
13 years 9 months ago #129358 by xillibit
Replied by xillibit on topic 500 Internal Server Error
Hello,

Can-you enable debug mode in both Joomla! and Kunena configuration panel, else it's impossible to know what is the error

I don't provide support by PM, because this can be useful for someone else.
The topic has been locked.
Time to create page: 0.300 seconds