×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

Question Attachments cannot be deleted at all => 403

More
4 years 1 month ago #1 by ArnoBrinkman
I cannot find the cause why attachments cannot be deleted at all by a user. First i thought it has to do with the fact that they may don't delete messages (the may modify them), but changing this setting didb't help either.
Do my best to find what causes this error, but no luck so for. I assume components\com_kunena\controllers\topic.php is called and in there removeattachments() ?

This is the call that fails:
https://mydomain/index.php/forum/topic/task-removeattachments?format=json&3ab306ba53c6e972e5f10e6e1287354d=1&fil_id=13

Response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /mydomain/index.php/forum/topic/task-removeattachments
on this server.<br />
</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
4 years 1 month ago #2 by ArnoBrinkman
Can someone give me a push in the direction were i should look?

Is this error comming from Kunena? or from Joomla? or deeper level?

Is it possible to get somewhere a stacktrace at the point when the exception is raised?

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
More
4 years 1 month ago - 4 years 1 month ago #4 by ArnoBrinkman
Thank you very much 810 !!!

The problem is the DELETE call instead of POST (i meant with POST it works perfectly fine).
I understand the correct way for a rest interface is DELETE, but now the question comes where this is getting blocked. I'm wondering why other users of this forum didn't had troubles with this.


I've many struggles with the new K5 release, but i need to give a BIG thanks to community here for all the help.

[url=""https://www.tradingtalk.nl]TradingTalk[/url]
Last edit: 4 years 1 month ago by ArnoBrinkman. Reason: clearify

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

More
4 years 1 month ago #5 by 810
are you running IIS ?

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

More
4 years 1 month ago #6 by ArnoBrinkman
No, it's running on CentOS, Apache 2.4.23, Php 5.6.25

I want to upgrade to php7, that's also why i wanted to use K5

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
4 years 1 month ago #7 by ArnoBrinkman
Something totally unrelated, but every time you click a link on this forum to open a message (which contains the Bookmark with the ID). The message dissapears behind the navigation/header. Because a lot of links include the messageid to directly refer to the right message i need to scroll to be able to see the message. On my forum i added custom css for that "a" element that contains the Bookmark:
#kunena.layout small.text-muted a {
    padding-top: 255px;
}

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
4 years 1 month ago #8 by ArnoBrinkman
Finally found the problem, the DELETE method was rejected by Apache. While my Apache knowledge is small it costed some time to find out where to adjust it. A lot of suggestions to find on the internet, but finding the right/good answer to your configuration is sometimes a challenge.

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
4 years 1 month ago #9 by 810
I have changed it to post, so it shouldn't happen again.

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

More
4 years 1 month ago #10 by ArnoBrinkman
That's even better for other users not strumbling on this thing.

Could you tell me which branch i should be using to have the latest K5 patches from git?

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

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