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

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 Missing image causes Invalid argument supplied com_kunena/lib/kunena.parser.php on line 572

More
12 years 11 months ago #1 by rolandd
Hey guys,

Scenario: User tried to upload an attachment but for some reason this failed. Now his text contains the
Code:
[attachment]filename[/attachment]

Problem: When viewing the post you get the error

Warning: Invalid argument supplied for foreach() in /xx/public_html/components/com_kunena/lib/kunena.parser.php on line 572

This is due to the $attachments being empty.

Fixed: Add a check if attachments is empty or not
Code:
if (empty($attachments)) { }

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

More
12 years 11 months ago - 12 years 11 months ago #2 by xillibit
Hello,

Can-you put here your kunena report configuration settings please ?

I don't provide support by PM, because this can be useful for someone else.
Last edit: 12 years 11 months ago by xillibit.

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

More
12 years 11 months ago #3 by Matias
Fix looks to be valid -- there are cases where bbcode parser doesn't get attachments. But it does look odd that it happens in normal page views..

@ xillibit: Can you look into this?

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

More
12 years 11 months ago - 12 years 11 months ago #4 by rolandd
@xillibit: the settings:

This message contains confidential information

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

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

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

This message contains confidential information

Joomla default template details : csvi_template | author: Brian Diaz | version: 1.0.0 | creationdate: 2009/4/2

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.6.4 | creationdate: 2011-05-07

Kunena version detailled: Installed version: 1.6.4 | Build: 4832 | Version name: Kerkrade | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: UddeIm 2.3

Third-party SEF components: sh404sef 1.0.20_A_Beta

Plugins: System - Mootools Upgrade: Disabled | System - Mootools12: Disabled

Modules: Kunena Latest 1.6.4

Last edit: 12 years 11 months ago by rolandd.

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

More
12 years 11 months ago #5 by xillibit
I will take a look on this later

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.389 seconds