×
Kunena is Joomla 3.8 compatible (20 Sep 2017)

Kunena 5.0.11 is compatible with the release of Joomla 3.8.
There are no know issues with the current version on Joomla 3.8. We advice to update if your other 3rt extensions are also compatible with the latest version.

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

More
2 months 2 days ago - 2 months 2 days ago #1 by misterpat
misterpat created the topic: 500 Error only when trying to view a topic with attachements
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! [ Click to expand ]

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! [ Click to expand ]

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

Warning: Spoiler! [ Click to expand ]
| Kunena integration settings:
Warning: Spoiler! [ Click to expand ]
| Joomla! detailed language files installed:
Warning: Spoiler! [ Click to expand ]

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: 2 months 2 days ago by misterpat.

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

More
2 months 1 day ago #2 by rich
rich replied the topic: 500 Error only when trying to view a topic with attachements
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
2 months 1 day ago - 2 months 1 day ago #3 by misterpat
misterpat replied the topic: 500 Error only when trying to view a topic with attachements
Hi Rich,

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

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

More
2 months 1 day ago #4 by rich
rich replied the topic: 500 Error only when trying to view a topic with attachements
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
2 months 1 day ago #5 by WolfgangOWL
WolfgangOWL replied the topic: 500 Error only when trying to view a topic with attachements
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
2 months 1 day ago #6 by rich
rich replied the topic: 500 Error only when trying to view a topic with attachements

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
2 months 1 day ago #7 by WolfgangOWL
WolfgangOWL replied the topic: 500 Error only when trying to view a topic with attachements
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
2 months 1 day ago #8 by misterpat
misterpat replied the topic: 500 Error only when trying to view a topic with attachements
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
1 month 4 weeks ago #9 by xillibit
xillibit replied the topic: 500 Error only when trying to view a topic with attachements

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.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.828 seconds