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 An invalid post ID was requested

More
16 years 10 months ago #37444 by matflat
Hello to everyone,

I looked through the forums and did find a thread with this exact issue but there was no resolution to it, hence me posting this [if I'm wrong I apologise].

I have installed the Kunena forum on my site and everything is great apart from the following problem.

I set the Forums to be moderated so that during the initial stages of the Forums life, we could ensure people are being nice and also to check that certain authorisations were working.

What's happening is that when a registered user posts a topic in a forum, the moderator is informed via an email notification and the moderator has to approve the post before is becomes active in the forum.

When the moderator gets the email notification it has the following link in it:

mysite.co.uk/index.php?option=com_kunena...view&catid=5&id=6#6#

But I get the error message that an invalid Post ID has been requested.

Any help would be greatly appreciated as we have had to turn the moderation function off.

Cheers,
MatFlat.

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

More
16 years 10 months ago - 16 years 10 months ago #37473 by sozzled
It's a little difficult to do remote diagnosis on this problem with the information you've provided to us. Quite obviously the address mysite.co.uk/index.php?option=com_kunena...view&catid=5&id=6#6# is fictitious, however when I visited the site shown in your user profile I got the "you have to be a member to visit our forum" message. So, in order to go further, it would be an advantage to you if you provide us with a test account username/password.

I'm beginning to wonder, because there have been a few recent discussions here about problems with e-mail notifications to moderators, if there may be something defective in K 1.5.8. So, could you tell us what version of Kunena you are using, please? It may be that the other topic you referred to has not been solved because, currently, there is no solution to it. It may also be that this is a genuine defect with the latest version of Kunena ... and it's something that may not have been thoroughly tested. I'm sorry, I haven't had enough opportunity to look into this matter myself. I don't usually need to do what you're doing.

Could someone, who is using K 1.5.8 and has enabled the email notification to moderator options, please inform us if the facility works?
Last edit: 16 years 10 months ago by sozzled.

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

More
16 years 10 months ago - 16 years 10 months ago #37477 by nzjacob
Just tested this on a live site and had the same problem.
"An invalid post ID was requested."

The email link generated was for the post:
Code:
mysitegoeshere.com/forums/Category/Forum/Post#

When it really should have sent me here:
Code:
mysitegoeshere.com/forums/Category/Forum/review?action=list

Since the post is not active yet (awaiting approval) it does not exist .. hence the error message.

If I turn off SEF, the link generated is still not valid:
Code:
mysitegoeshere.com/index.php?option=com_kunena&Itemid=12&func=view&catid=10&id=109#109

Looks like this is a bug in K1.5.8 or I am missing something ?
Last edit: 16 years 10 months ago by nzjacob.

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

More
16 years 10 months ago - 16 years 10 months ago #37480 by sozzled
nzjacob: thanks, mate. This may be something that the Kunena developers and testers have overlooked. The question is whether this is a defect that was introduced in K 1.5.8. I wonder how long this problem has been around?

See also (in the past week): Neither of which has been solved.
Last edit: 16 years 10 months ago by sozzled.

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

More
16 years 10 months ago #37481 by xillibit
Hello,

the problem comes from to the file components\com_kunena\template\default\post.php, precisely the line 402 :
Code:
$LastPostUrl = $uri->toString(array('scheme', 'host', 'port')) . str_replace('&', '&', CKunenaLink::GetThreadPageURL($fbConfig, 'view', $catid, $querythread, $threadPages, $fbConfig->messages_per_page, $pid));

I need to know the link without sef gived in the mail and the link to the thread related to the email, which working.

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 10 months ago #37483 by nzjacob
Link in email without SEF looks like this:
mysitegoeshere.com/index.php?option=com_kunena&Itemid=12&func=view&catid=10&id=109#109

The closest link I could find to the correct page is:
mysitegoeshere.com/index.php?option=com_kunena&Itemid=12&func=review&action=list&catid=10

hope this helps resolve

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

Time to create page: 0.130 seconds