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
Question Avatar upload doesn't work
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?Am I missing a permission setting in another directory that is important?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
* JFile::copy: Cannot find or read file: '/tmp/kn_foUYtS'
* JFile::copy: Cannot find or read file: '/tmp/kn_q4QDro'
* JFile::copy: Cannot find or read file: '/tmp/kn_zvyouU'
Please Log in or Create an account to join the conversation.
Help -> System Info -> Directory Permissions tab
Check that they are all writeable.
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.
@ merola:
Can you send information from your system: Operating system, Joomla FTP user, Apache user.
What are the permissions of those files? Owner, group, mode (0600?) ?
Please Log in or Create an account to join the conversation.
- lakehousetech
- Offline
- New Member
- Posts: 4
- Thank you received: 0
Or just upgrade to K1.5.4
I just got back and upgraded to 1.5.4 (released while I was away on vacation) which has solved the upload problem :woohoo:. I haven't encountered any more bugs yet, but I'll continue to test it out over the next week. Thanks again to everyone!
Chri
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For Kunena 1.5.4
Edit kunena.file.class.php (/components/com_kunena/lib/)
and replace the old code with new code:
old:
new:
Or use the attached file for Kunena 1.5.4 kunena.file.class.php and override the existing file in components/com_kunena/lib/
Please Log in or Create an account to join the conversation.