Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Avatar upload fails

More
13 years 5 months ago #133785 by crazysuzy
Since installing Kunena with J1.7 we have never been able to upload avatars. I chalked it up to needing an upgrade of Joomla and Kunena. However, today I upgraded Kunena, Joomla and my YooTheme template to the most current versions. There has been no change in the avatar uploading issue. Below is my configuration report. Please note that we are able to successfully upload file attachments in posts; it is only the avatar uploads that are not working. File and directory permissions are set appropriately and all other system media uploads work as expected.

This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 60 seconds | Max execution memory: 500M | Max file upload: 30M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : yoo_corona | author: YOOtheme | version: 5.5.15 | creationdate: June 2012

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 2.0.2 | creationdate: 2012-09-02

Kunena version detailed: Kunena 2.0.2 | 2012-09-02 [ Botschafter ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: UddeIM 2.8

Third-party SEF components: None

Plugins: None

Modules: Kunena Latest 2.0.2 | Kunena Login 2.0.2

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

More
13 years 5 months ago #133787 by sozzled
Replied by sozzled on topic Avatar upload fails
Most of these cannot-upload-avatar-images problems are caused by folder/file permissions issues. Look at the article Securing Kunena and, if necessary, discuss with your webhosting provider to make sure you have the ability for people to upload and store files on your site. That's where I would start.

This isn't a defect of Kunena. It's all related to how you have setup Joomla on your hosted environment.

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

More
13 years 5 months ago #133788 by crazysuzy
Replied by crazysuzy on topic Avatar upload fails
Thank you Sozzled. The site is on a virtual dedicated server and I have total control on how it is configured. I have tried changing many of the PHP and Apache settings to no avail. Nothing is showing in the error logs. When I turned on Kunena's debugging the only error that I got was this:

Notice: Undefined property: JSimpleXMLElement::$params in /home/XXXX/public_html/libraries/joomla/html/parameter.php on line 398

And at one point it briefly flashed that MIME type .jpg was not set, even though it is. I have tried off and on for over six months to fix this. I cannot understand how I can upload files everywhere (including Kunena attachments), but cannot upload avatars. Do I need to chown the appropriate media directories to something other than my normal user? I have the permissions set to 775, but don't want to go any higher. My site administrator skills are limited, so it would be helpful if you could tell me where to start looking. I can also make a custom php.ini and change htaccess if that is needed.

Thank you for your help.

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

More
13 years 5 months ago #133816 by sozzled
Replied by sozzled on topic Avatar upload fails
Thanks for your response. We agree that people should never exceeds the Joomla recommendations regarding folder/file security. Starting at the site root (and propagating throughout the site), folder permissions of 755 and file permissions of 644 should be adequate. That's not a hard-and-fast rule but that's what we would recommend as a starting point.

Devising rules of .htaccess files is well beyond the scope of this forum but, for most applications, using the standard Joomla .htaccess file - the one shipped with your installation as htaccess.txt - also should work for Apache installations.

If the MIME type of .jpg is not set in your Joomla global settings then, no, you would have a problem uploaded files of that type. Can you upload images within Kunena or is the problem localised to uploading images with users' avatars?

The only other thing I noticed from your configuration report that has me a little concerned is your customised Joomla menu. Have your tried using the default menu - the one that was created when you first installed Kunena?

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

More
13 years 5 months ago #133834 by crazysuzy
Replied by crazysuzy on topic Avatar upload fails
Thank you. I tried disabling the custom menu, clearing the cache and trying to update my avatar. Still no good. As I said earlier, image uploads work fine throughout the site, including Kunena file attachments within posts. I have tried changing the Apache configuration, adding a custom php.ini for open_basedir to specify the tmp directory, removing open_basedir, all kinds of adjustments to the main PHP configuration, etc. I have completely run out of ideas, other than a possible jquery or javascript conflict if that even comes into play. I have also tried disabling the RSFirewall checks on Kunena and that made no difference.

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

More
13 years 5 months ago #133835 by sozzled
Replied by sozzled on topic Avatar upload fails
There are many reasons why users cannot upload their own avatar images. The reasons include, but not limited to: folder/file security settings, Kunena forum configuration settings (although I could not see anything obvious from yours), file type, file size, reliability of connection/quality of service, PHP configuration settings, webserver (i.e. Apache) configuration settings, as well as things that reside in the "paranormal" unexplained - although I do not believe in goblins, ghosts or maleficent genies.

Javascript (obviously) comes into play because Javascript is responsible for opening the file dialog that allows you to select a file that you want to use as an avatar image.

The one piece of information missing from this [possibly easily-explained] case is how, specifically, the inability to upload the image manifests itself to the user. For example, is there an error message? Have you considered enabling Kunena debug mode to see if this helps reveal something not yet brought into evidence?

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

Time to create page: 0.313 seconds