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 Avatar upload doesn't work

More
17 years 4 months ago - 17 years 4 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: 17 years 4 months ago by @quila.

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

More
17 years 4 months ago - 17 years 4 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: 17 years 4 months ago by Lintzy.

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

More
16 years 2 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
16 years 2 months ago - 16 years 2 months ago #60859 by AdminEuroCompanyFormation
Oh sorry already find solution HERE
Last edit: 16 years 2 months ago by AdminEuroCompanyFormation.

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

Time to create page: 0.120 seconds