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

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.

Solved [Resolved] Posts on forum disappear!

More
14 years 5 months ago #112085 by Hoffi
Hello,

we had the same problem of empty posts in some cases where links are included. We found the post of Ardenlyn here and the "shorten url" feature caused our problem too. Crazy, but the same site copied to my local xampp or a second local machine with lampp worked fine. :huh:

I have analysed this on our live server (FreeBSD) and I found the preg_replace() inside KunenaBBCodeInterpreter::PostProcessing() runs in a PREG_BACKTRACK_LIMIT_ERROR (get by preg_last_error()). So my first idea was to assign the replace result to a local variable and check last error before replacing original text.
But additionally I found the cause of the error: it's the "\3?" inside the search pattern. I have replaced this by "(http(s?):\/\/)?" which doesn't change the meaning but makes preg_replace() happy. ;)

We are using Joomla! 1.7.3 and Kunena 1.7.1, xampp has PHP 5.3.1 but lampp and our live server have running PHP 5.3.8.

Another little thing inside the same file:
In 1.7.1 you (the developers) have added "index.php" two times to a regular expression. Because you mean the concrete character "." you should escape it. Actually e.g. "index4php" would match too.
(sorry, if this is the wrong place to tell such things)

Best regards,
Hoffi
The following user(s) said Thank You: Matias

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

More
14 years 5 months ago #112290 by jabbott
This fixed it for me too! Thanks!

--ja

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

More
14 years 5 months ago #112415 by Matias
Reported the bug, thanks!

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

More
14 years 5 months ago #112427 by astrogoal

jabbott wrote: This fixed it for me too! Thanks!

--ja


What?

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

More
14 years 5 months ago #112446 by Virgo3456
If you switch off the "shorten url" feature in the Kunena-backend posts will no longer disappear.


The following user(s) said Thank You: sozzled, astrogoal, jaxtertee

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

More
14 years 5 months ago #112478 by jabbott

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

Time to create page: 0.516 seconds