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 #22734 by @quila
Hi Chris,

another importand directory is
/media/kunena/attachments/legacy/avatars

Regards

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

More
16 years 11 months ago - 16 years 11 months ago #22738 by lakehousetech
Thanks. I gave it a try and I still get the same problem. I even set each directory to 777 and that didn't help either. Not sure what else to try at the moment.
Last edit: 16 years 11 months ago by lakehousetech.

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

More
16 years 11 months ago #22747 by sozzled
lakehousetech wrote:

Am I missing a permission setting in another directory that is important?

I'm not sure whether your problem is a permission setting or not but, in terms of Joomla, I suggest you read docs.joomla.org/What_are_the_recommended...ctory_permissions%3F

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

More
16 years 11 months ago #22765 by lakehousetech
I'm familiar with the permissions settings in Joomla, and they are set correctly. No problems with any other functions. Avatars work flawlessly on localhost installation.

Could it possibly be a memory limit issue? Thanks again for the help.

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

More
16 years 11 months ago - 16 years 11 months ago #22768 by sozzled
I think you've already pointed to the cause of the problem in your earlier observation:

Am I missing a permission setting in another directory that is important?

I can't be sure of anything in this regard. The only suggestion I have to offer is to check and double-check each and every directory, sub-directory and file in you Joomla website. Perhaps you thought you'd changed them all, but maybe the changes weren't propagated recursively throughout the whole sub-directory structure?
Last edit: 16 years 11 months ago by sozzled.

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

More
16 years 11 months ago #23164 by jimmykirk
I know what's happening.

Your version of PHP, if it's less than 5.2.1, does not support the function "sys_get_temp_dir".

What you can do as a fix if you don't want to compile 5.2.1 or higher and re-install, is you can put the following in about line 27 on the file

/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php

right after...

"require_once(KUNENA_PATH_LIB .DS. 'kunena.file.class.php');"

if ( !function_exists('sys_get_temp_dir')) {
function sys_get_temp_dir() {
if (!empty($_ENV)) { return realpath($_ENV); }
if (!empty($_ENV)) { return realpath( $_ENV); }
if (!empty($_ENV)) { return realpath( $_ENV); }
$tempfile=tempnam(uniqid(rand(),TRUE),'');
if (file_exists($tempfile)) {
unlink($tempfile);
return realpath(dirname($tempfile));
}
}
}

That will fix the problem in the mean time.

Cheers m8,

Jimmy

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

Time to create page: 0.266 seconds