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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question 500 Error in Forum Configuration and forum

More
14 years 11 months ago #98265 by Bob Britt
Is there a "best practice" or some sort of guide on how to rebuild a site and preserve the data?? That sounds like what you're suggesting.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #98756 by Matias
array_combine() bug has been fixed in K1.6.5 -- it was caused by CB removing all subscribers from the list (which was unexpected as i thought that array_combine would accept empty arrays).

In the mean time the fix is to add check if users variable is array before calling the function.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago - 14 years 10 months ago #98759 by Bob Britt

Matias wrote: array_combine() bug has been fixed in K1.6.5 -- it was caused by CB removing all subscribers from the list (which was unexpected as i thought that array_combine would accept empty arrays).

In the mean time the fix is to add check if users variable is array before calling the function.


Didn't know y'all called this a bug???

You're going to save me a massive amount of work if this is the fix. Now...how exactly can I apply the fix you're talking about?
Last edit: 14 years 10 months ago by Bob Britt.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #98795 by Matias
In administrator/components/com_kunena/libraries/integration/access.php:

Go to the end of the file and find the function below. Replace the whole function with this new version (only few lines changed, but it's easier to replace the whole thing):
Code:
protected function &loadSubscribers($catid, $topicid, $subsriptions) { $category = KunenaCategory::getInstance($catid); $db = JFactory::getDBO (); $query = array(); if ($subsriptions == 1 || $subsriptions == 2) { // Get topic subscriptions $once = KunenaFactory::getConfig()->topic_subscriptions == 'first' ? 'AND future1=0' : ''; $query[] = "SELECT userid AS user_id FROM #__kunena_subscriptions WHERE thread={$topicid} {$once}"; } if ($subsriptions == 1 || $subsriptions == 3) { // Get category subscriptions $query[] = "SELECT userid AS user_id FROM #__kunena_subscriptions_categories WHERE catid={$catid}"; } $query = implode(' UNION ', $query); $db->setQuery ($query); $userids = (array) $db->loadResultArray(); KunenaError::checkDatabaseError(); if (!empty($userids)) { $this->checkSubscribers($category, $userids); } if (!empty($userids)) { $userids = (array) array_combine ($userids, $userids); } return $userids; }

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #98809 by Bob Britt
Replaced code, still no go for me. No error message recorded in error log.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #98820 by Matias
Can you go to Kunena backend and enable debug mode in there (Joomla debug is fine, too, just giving more information)?

Do you see anything new?

What are the current issues exactly?

Please Log in or Create an account to join the conversation.

Time to create page: 0.265 seconds