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 Error for non autorithed users

More
15 years 8 months ago #59515 by pawa
I have error:
Code:
Fatal error: Class 'KunenaUser' not found in /var/www/nvrsk.org/components/com_kunena/funcs/listcat.php on line 237 Call Stack: 0.0002 667016 1. {main}() /var/www/nvrsk.org/index.php:0 0.1327 12351544 2. JSite->dispatch() /var/www/nvrsk.org/index.php:68 0.1339 12359512 3. JComponentHelper->renderComponent() /var/www/nvrsk.org/includes/application.php:124 0.1364 12827080 4. require_once('/var/www/nvrsk.org/components/com_kunena/kunena.php') /var/www/nvrsk.org/libraries/joomla/application/component/helper.php:162 0.1364 12827464 5. KunenaApp->__construct() /var/www/nvrsk.org/components/com_kunena/kunena.php:764 0.2643 21820664 6. CKunenaListcat->display() /var/www/nvrsk.org/components/com_kunena/kunena.php:702 0.2643 21820816 7. CKunenaTools->loadTemplate() /var/www/nvrsk.org/components/com_kunena/funcs/listcat.php:335 0.2646 21829960 8. require('/var/www/nvrsk.org/components/com_kunena/template/nvrsk.org/categories/listcat.php') /var/www/nvrsk.org/components/com_kunena/class.kunena.php:742 0.2735 22105800 9. CKunenaListcat->displayCategories() /var/www/nvrsk.org/components/com_kunena/template/nvrsk.org/categories/listcat.php:10 0.2735 22105800 10. CKunenaListcat->loadCategories() /var/www/nvrsk.org/components/com_kunena/funcs/listcat.php:260

my solution is:
Code:
Index: /trunk/components/com_kunena/kunena.php =================================================================== --- /trunk/components/com_kunena/kunena.php (revision 236) +++ /trunk/components/com_kunena/kunena.php (revision 238) @@ -300,10 +300,11 @@ // Assign previous visit without user offset to variable for templates to decide $this->prevCheck = $kunena_session->lasttime; } else { // For guests we don't show new posts + $userprofile = KunenaFactory::getUser(); $this->prevCheck = CKunenaTimeformat::internalTime()+60; } if(JDEBUG){ $__profiler->mark('Session End');

Is it rigth ?

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

More
15 years 8 months ago #59516 by pawa
PS: it's tested with RC1 and RC2

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

More
15 years 8 months ago #59622 by xillibit
Hello,

How to reproduce your issue ?
Can-you plesae report here your configuration settings ?

I don't provide support by PM, because this can be useful for someone else.

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

More
15 years 8 months ago #59679 by pawa
Joomla 1.5.20
Kunena 1.6 RC2
JomSocial 1.8.8
Request for index forum page

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

More
15 years 8 months ago #59778 by xillibit
I'am still not able to reproduce your issue, i had said to use the report configuration settings : www.kunena.com/forum/168-k-16-support/56...-when-asking-support

I don't provide support by PM, because this can be useful for someone else.

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

More
15 years 8 months ago #60263 by Matias
It looks like that in some cases KunenaUser cannot be found as it's not imported..

To fix the problem I added:

kimport('user');

just before the error.

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

Time to create page: 0.213 seconds