Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

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 and PHP 5.2.0

More
14 years 9 months ago #1 by array81
Avatar and PHP 5.2.0 was created by array81
Upload avatar action use "sys_get_temp_dir" php function. For this function I need of PHP 5.2.1 or later.

My host have only PHP 5.2.0 so I have an error.

Is there a solution for this problem?

Thanks

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

More
14 years 9 months ago #2 by xillibit
Replied by xillibit on topic Re:Avatar and PHP 5.2.0
Hello,

there is a solution for this, gived here : fr.php.net/manual/en/function.sys-get-temp-dir.php#71332

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.

More
14 years 9 months ago #3 by Matias
Replied by Matias on topic Re: Avatar and PHP 5.2.0
Wow, there's a check if the function exists. But there seems to be a bug in PHP 5.2.0 that causes the check to fail (I believe that the function exists, but does not work). It means that solution given by xillibit does not work either.

You can fix this in components/com_kunena/lib/kunena.file.class.php line 23:
Code:
if (0) {

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

More
14 years 9 months ago #4 by array81
Replied by array81 on topic Re:Avatar and PHP 5.2.0
Now I have this error:

Call to undefined function sys_get_temp_dir() in /home/mhd-01/www.martinzone.biz/htdocs/components/com_kunena/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 47

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

More
14 years 9 months ago #5 by xillibit
Replied by xillibit on topic Re:Avatar and PHP 5.2.0
You can try it, but I can't tested so I can't tell if it work or no :

Attachment myprofile_avatar_upload.zip not found


I don't provide support by PM, because this can be useful for someone else.
Attachments:

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

More
14 years 9 months ago #6 by array81
Replied by array81 on topic Re:Avatar and PHP 5.2.0
There is a small bugs in your file. I have fixed it, now it works.

Thanks in any case.

Attachment myprofile_avatar_upload-20090617.zip not found

Attachments:

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

More
14 years 9 months ago #7 by xillibit
Replied by xillibit on topic Re:Avatar and PHP 5.2.0
This is good, thanks to have fixed this.

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