Kunena 6.3.0 released

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

Solved 500 Error only when trying to view a topic with attachements

More
6 years 9 months ago - 6 years 9 months ago #1 by misterpat
Upgraded to the latest version. Now when I click a topic with an attachment, I get a 500 error. Other topics load fine.

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 20 seconds | Max execution memory: 32M | Max file upload: 10M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : t3_bs3_blank | author: JoomlArt.com | version: 2.2.3 | creationdate: July 22 2016

Kunena default template details : Crypsisb3 | author: Kunena Team | version: 5.0.10 | creationdate: 2017-06-30

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 5.0.10 | 2017-06-30 [ Junco ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: UddeIM 3.7

Third-party SEF components: None

Plugins: Content - Kunena Discuss 5.0.3

Modules: Kunena Login 5.0.3

Last edit: 6 years 9 months ago by misterpat.

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

More
6 years 9 months ago #2 by rich
Please enable in the Kunena configuration (tab General) the debug mode. Then the error message is more precise.

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

More
6 years 9 months ago - 6 years 9 months ago #3 by misterpat
Hi Rich,

I'm getting the kunena 500 error page with this text when debug is enabled..
Code:
Fatal Error: Call to undefined method JApplicationSite::isClient() in libraries/kunena/attachment/attachment.php on line 241
Last edit: 6 years 9 months ago by misterpat.

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

More
6 years 9 months ago #4 by rich
Upgrade your Joomla it solves this problem.
The following user(s) said Thank You: misterpat

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

More
6 years 9 months ago #5 by WolfgangOWL
This is not correct. The function call should be JFactory::getApplication()->isClient('administrator')

It seems that there is a problem with your installation.

Try to replace libraries/kunena/attachment/attachment.php with the correct one I have attached as zip-file.
Attachments:
The following user(s) said Thank You: misterpat

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

More
6 years 9 months ago #6 by rich

should be JFactory::getApplication()->isClient('administrator')

hm.. but it seems that this function is causing an error (see here).

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

More
6 years 9 months ago #7 by WolfgangOWL
What irritates me ist that misterpat wrote that the function call is JApplicationSite::isClient(). It should definitely be JFactory::getApplication()->isClient().

Works on my website with Joomla 3.7.3 and Kunena 5.0.10.

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

More
6 years 9 months ago #8 by misterpat
This is weird. I usually just log into Joomla and it will tell me if there are updates available. It never showed the update to 3.7.3 otherwise I would have updated before starting this thread. I have updated and everything is working just fine now.

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

More
6 years 9 months ago #9 by xillibit

WolfgangOWL wrote: What irritates me ist that misterpat wrote that the function call is JApplicationSite::isClient(). It should definitely be JFactory::getApplication()->isClient().

Works on my website with Joomla 3.7.3 and Kunena 5.0.10.

The method was called like that : JFactory::getApplication()->isClient('administrator'), but this method is only available since Joomla! 3.7.0, i have made a change to use instead JFactory::getApplication()->isAdmin()

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.

Time to create page: 0.597 seconds