Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] 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.

The Kunena team is also pleased to announce the twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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.

Question Avatar upload doesn't work

More
16 years 11 months ago - 16 years 11 months ago #23625 by @quila
Hi WrongWay,

do you talking about this drop down list?



for which template the graphics folder is not there?
Regards
Last edit: 16 years 11 months ago by @quila.

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

More
16 years 10 months ago - 16 years 10 months ago #24179 by Lintzy
Please try this, this worked for me, the problem is sys_get_temp_dir () and php version 5.2.0, where this function is broken.

For Kunena 1.5.4

Edit kunena.file.class.php (/components/com_kunena/lib/)

and replace the old code with new code:

old:
Code:
function tmpdir() { static $tmpdir=false; if (!empty($tmpdir)) return $tmpdir; if (function_exists('sys_get_temp_dir')) { $tmpdir = sys_get_temp_dir(); } else { $file = tempnam(false,false); if ($file === false) return false; unlink($file); $tmpdir = realpath(dirname($file)); } return $tmpdir; }

new:
Code:
function tmpdir() { static $tmpdir = false; if (!empty($tmpdir)) return $tmpdir; //Try php >= 5.2.1 functionality if (function_exists('sys_get_temp_dir')) { $tmpdir = sys_get_temp_dir(); $file = tempnam($tmpdir, false); if ($file !== false) { unlink($file); return $tmpdir; } } //Try php setting $tmpdir = ini_get('upload_tmp_dir'); $file = tempnam($tmpdir, false); if ($file !== false) { unlink($file); return $tmpdir; } //Last resort, try system tmp dir $file = tempnam(false, false); if ($file !== false) { unlink($file); $tmpdir = realpath(dirname($file)); return $tmpdir; } return false; }



Or use the attached file for Kunena 1.5.4 kunena.file.class.php and override the existing file in components/com_kunena/lib/


File Attachment:

File Name: avartaruploadfix.zip
File Size:1.53 KB
Last edit: 16 years 10 months ago by Lintzy.

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

More
15 years 9 months ago #60856 by AdminEuroCompanyFormation
Hi.
Got same problem
Code:
JFile::copy: Cannot find or read file: ''

Installed version: Kunena 1.5.12 | 2010-06-19 | 1897 [ Calificar ]

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

More
15 years 9 months ago - 15 years 9 months ago #60859 by AdminEuroCompanyFormation
Oh sorry already find solution HERE
Last edit: 15 years 9 months ago by AdminEuroCompanyFormation.

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

Time to create page: 0.303 seconds