Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

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 Division by zero

More
17 years 2 months ago - 17 years 2 months ago #27592 by Slotpro
Division by zero was created by Slotpro
Code:
Division by zero in /home/mysite/public_html/components/com_kunena/template/default_ex/view.php on line 171 Division by zero in /home/mysite/public_html/components/com_kunena/template/default_ex/view.php on line 172

i'm search and read but i do not understand the problem "Division by zero"


Code in line 171-172
Code:
$totalpages = ceil($total / $limit); $page = floor($limitstart / $limit)+1;

i'm set messenger per page 10
Last edit: 17 years 2 months ago by Slotpro.

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

More
17 years 2 months ago #27605 by Matias
Replied by Matias on topic Re: Division by zero
Maybe you have limit in the URL?

Change line 167 into this:
Code:
$limit = JRequest::getInt('limit', $fbConfig->messages_per_page); if ($limit < 1) $limit = $fbConfig->messages_per_page;

It should work.. does it?

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

More
17 years 2 months ago #27645 by Slotpro
Replied by Slotpro on topic Re: Division by zero
Matias wrote:

Maybe you have limit in the URL?

Change line 167 into this:

Code:
$limit = JRequest::getInt('limit', $fbConfig->messages_per_page); if ($limit < 1) $limit = $fbConfig->messages_per_page;

It should work.. does it?


thank you for help me thank again :lol: it work !

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

Time to create page: 0.125 seconds