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

Question Template listcate.php error

More
16 years 11 months ago #16889 by tryout101
Hi there,

I upgraded to 1.1.10 , so i can escape some problems, but I see, I am facing a new set of ones :laugh: , I keep getting this error with some templates :

Warning: Division by zero in /home/accountname/public_html/components/com_kunena/template/the_white_pearl_v1/listcat.php on line 314

Line 313-320 basically states :
Code:
$database->loadObject($thisThread); $latestthreadpages = ceil($thisThread->totalmessages / $fbConfig->messages_per_page); $latestthread = $thisThread->thread; $latestname = html_entity_decode_utf8(stripslashes($singlerow->mname)); $latestcatid = $singlerow->catid; $latestid = $singlerow->id_last_msg; $latestsubject = html_entity_decode_utf8(stripslashes($singlerow->subject)); $latestuserid = $singlerow->userid;

Now I'm going to check it out what it is, but in the meantime while im doing that, in case i cant fix it, i might as well give someone who knows what hes doing a head start.

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

More
16 years 11 months ago #16905 by xillibit
Hello,

I don't know if this template work with Kunena 1.0.10, but your error come to this line :
Code:
$latestthreadpages = ceil($thisThread- >totalmessages / $fbConfig->messages_per_page);

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
16 years 11 months ago #16945 by tryout101
This template works with the 1.1.09 and maybe even 08, but as for 1.1.10 , it doesn't work with it. it gives that listcat.php line 314 error, and I tried myself by copying and pasting the lines from default_ex to the one I'm using, but as expected it gave me a new error. It still wouldn't show the categories and stuff.

So what i did was downgrade back to 1.1.09, I'm quiet disappointed I had to do that. I love the template I am using, and for it I would downgrade anyday. I wonder if you guys make the changes for us? or should i have to wait for the maker of the tmeplate for an update which is highly unlikeable that he would update but who knows..?

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

More
16 years 11 months ago - 16 years 11 months ago #16972 by grumblemarc
The template is the responsibility of the template maker to update.

This is the reason I have not created any because of the volatile state of the component while it's in development. None of the previous user supplied templates will probably work because of all the code changes that took place in this version. The problem with having code so tightly interwoven with design being demonstrated right here in this very issue.

It was suggested by one of the devs that they all will have to be rewritten from scratch . Not so bad if you've only submitted one or two skins but very time consuming if you've already submitted many such re-skins of the default_ex template as one user has.

Partly the reason I got out of developing because constant code changes created constant re-work while extensions were in a state of flux. So template makers cannot actually make progress as programmers do since their work is constantly being destroyed-in a word-by the ever changing code. So in my experience code trumps design.

What you get following are frustrated template makers/skinners who just stop creating and a user base that loses out because of it. Also evidenced by this post. Just the nature of things. I just wish programmers and designers would work closer together and take into consideration the work of the other.

We love stars on the Joomla Extension Directory . :-)
Last edit: 16 years 11 months ago by grumblemarc.

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

More
16 years 11 months ago - 16 years 11 months ago #17031 by svanschu
For the most templates it is more than enought to change the pictures and the template css

It is neede to change the code to fix bugs etc. So pls be patient till we are rdy with all fixes and changes.....

Also this changes are not very difficult to merge with diff tools.....

So please contact the dev of your template if he will make a update for 1.0.10
Last edit: 16 years 11 months ago by svanschu.

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

More
16 years 11 months ago #17109 by tryout101
Informative replies, thank you guys, I'm impatiently waiting the native 1.5 kunena, the stable version of course. The development of my site has to wait some time more...

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

Time to create page: 0.302 seconds