- Posts: 20
- Thank you received: 0
Kunena 6.1.0 Released
The Kunena team has announce the arrival of Kunena 6.1.0 [K 6.1.0] which is now available for download as a native Joomla extension for J! 4.3.x & J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0
Question [K1.7] [J1.5.23] Avatar & Attachment upload failed
I have just installed Kunena on my site, and im getting this error when I try and upload an avatar or attachment to the website using Kunena as my profile and avatar system.
Here is the error message when I try and upload the sample image that comes with Windows, as an attachment to a simple forum post.
Failed to upload file 'Winter.jpg': Image MIME type () is not allowed (jpg,jpeg,gif,png).
Your message has been successfully posted.
And the same for uploading an avatar
Failed to upload file 'Winter.jpg': Image MIME type () is not allowed (jpg,jpeg,gif,png).
Your profile has been saved.
I have checked File/Folder permissions on the upload directories and all are on 7-5-5, is this correct?
Here's my System Info
PHP Built on: Linux jumbuck.netports-servers.com.au 2.6.18-238.9.1.el5PAE #1 SMP Tue Apr 12 18:52:55 EDT 2011 i686
Database Version: 5.0.92-community
Database Collation: utf8_general_ci
PHP Version: 5.2.9
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.23 Stable [ senu takaa ama baji ] 04-March-2011 18:00 GMT
User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
Thanks.
Edit;
I forgot to mention that I can upload the same image to other places in the site (image gallery), as well as attach it to posts using my old Ninjaboard forum.
It seems it is just Kunena giving me this error.
Please Log in or Create an account to join the conversation.
For information about file/folder permissions settings, see Securing Kunena .
Sounds to me like you've changed some standard configuration setting somewhere and that's what is preventing Kunena accepting certain MIME types.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
Database collation check: The collation of your table fields are correct
Legacy mode: Disabled | Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |
This message contains confidential informationhtaccess: Exists | PHP environment: Max execution time: 60 seconds | Max execution memory: 64M | Max file upload: 64M
Joomla default template details : rt_zephyr_j15 | author: RocketTheme, LLC | version: 1.5.2 | creationdate: November 16, 2010
Kunena default template details : nts_kdark | author: 9ThemeStore | version: 1.7.0 | creationdate: 2011-05-07
Kunena version detailled: Installed version: 1.7.0 | Build: 5135 | Version name: Tale | Kunena detailled configuration:
Warning: Spoiler![th]Kunena config settings:[/th]
board_title Legion Gaming board_offline 0 board_ofset 0.00 offline_message <h2>The Forum is currently offline for maintenance.</h2>
<div>Check back soon!</div>enablerss 0 enablepdf 0 threads_per_page 20 messages_per_page 10 messages_per_page_search 10 showhistory 0 historylimit 6 shownew 1 jmambot 1 disemoticons 0 template nts_kdark showannouncement 1 avataroncat 0 catimagepath category_images/ showchildcaticon 1 annmodid 62 rtewidth 450 rteheight 300 enableforumjump 0 reportmsg 0 username 1 askemail 0 showemail 0 showuserstats 1 showkarma 1 useredit 1 useredittime 0 useredittimegrace 0 editmarkup 1 allowsubscriptions 1 subscriptionschecked 1 allowfavorites 1 maxsubject 100 maxsig 30000 regonly 0 changename 1 pubwrite 0 floodprotection 0 mailmod 0 mailadmin 1 captcha 0 mailfull 1 allowavatar 1 allowavatarupload 1 allowavatargallery 1 avatarquality 80 avatarsize 2048 allowimageupload 0 allowimageregupload 1 imageheight 8000 imagewidth 8000 imagesize 1500 allowfileupload 0 allowfileregupload 1 filetypes txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2 filesize 12000 showranking 1 rankimages 1 avatar_src fb fb_profile fb pm_component no userlist_rows 30 userlist_online 1 userlist_avatar 1 userlist_name 0 userlist_username 1 userlist_posts 1 userlist_karma 1 userlist_email 0 userlist_usertype 1 userlist_joindate 1 userlist_lastvisitdate 1 userlist_userhits 1 latestcategory 23,14,17,24,22,4,5,6,13,16,29,25,21,7,8 showstats 1 showwhoisonline 1 showgenstats 1 showpopuserstats 1 popusercount 5 showpopsubjectstats 1 popsubjectcount 5 usernamechange 1 rules_infb 1 rules_cid 1 help_infb 1 help_cid 1 showspoilertag 1 showvideotag 1 showebaytag 0 trimlongurls 1 trimlongurlsfront 40 trimlongurlsback 20 autoembedyoutube 1 autoembedebay 0 ebaylanguagecode en-us fbsessiontimeout 1800 highlightcode 0 rss_type topic rss_timelimit month rss_limit 100 rss_included_categories rss_excluded_categories rss_specification rss2.0 rss_allow_html 1 rss_author_format name rss_author_in_title 1 rss_word_count 0 rss_old_titles 1 rss_cache 900 fbdefaultpage recent default_sort asc alphauserpointsnumchars 0 sef 1 sefcats 0 sefutf8 0 showimgforguest 1 showfileforguest 1 pollnboptions 4 pollallowvoteone 1 pollenabled 1 poppollscount 5 showpoppollstats 1 polltimebtvotes 00:15:00 pollnbvotesbyuser 100 pollresultsuserslist 1 maxpersotext 100 ordering_system mesid post_dateformat ago post_dateformat_hover datetime hide_ip 0 js_actstr_integration 0 imagetypes jpg,jpeg,gif,png checkmimetypes 1 imagemimetypes image/jpeg,image/gif,image/png,image/bmp,application/x-shockwave-flash,application/msword,application/excel,application/pdf,application/powerpoint,text/plain,application/x-zip imagequality 80 thumbheight 50 thumbwidth 50 hideuserprofileinfo put_empty integration_access joomla integration_login joomla integration_avatar kunena integration_profile kunena integration_private none integration_activity none boxghostmessage 0 userdeletetmessage 0 latestcategory_in 1 topicicons 1 onlineusers 1 debug 0 catsautosubscribed 0 showbannedreason 1 version_check 1 showthankyou 1 showpopthankyoustats 1 popthankscount 5 mod_see_deleted 2 bbcode_img_secure text listcat_show_moderators 0 lightbox 1 activity_limit 0 show_list_time 720 show_session_type 0 show_session_starttime 0 userlist_allowed 0 userlist_count_users 1 enable_threaded_layouts 0 category_subscriptions post topic_subscriptions every pubprofile 1 thankyou_max 10 email_recipient_count 0 email_recipient_privacy bcc email_visible_address [email protected] captcha_post_limit 0 recaptcha_publickey recaptcha_privatekey recaptcha_theme white
Third-party components: CommunityBuilder 1.4
Third-party SEF components: None
Plugins: System - Mootools Upgrade: Enabled | System - Mootools12: Disabled
Modules: None
I used the default MIME types set my Kunena, which did not work. Then copied the ones in the Global config, which I knew worked, because Ninjaboard uses those MIME types when uploading attachments or avatars. and still did not work on Kunena.
Edit:
If I disable MIME check, I get this error message:
JFile::copy: Cannot find or read file: '/tmp/phpl2I33U'
Failed to upload file 'Winter.jpg': Could not move file into /home/xxxxxxxx/public_html/media/kunena/avatars/users/Winter.jpg.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
I have tried png and gif, as well as other types of document file types for attachments aswell. None of them work.
I keep getting the MIME error, or this error when MIME check is disabled.
JFile::copy: Cannot find or read file: '/tmp/phpwxZ3j4'
Failed to upload file 'avatar64.png': Could not move file into /home/xxxx/public_html/media/kunena/avatars/users/avatar64.png.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
I can ensure you that all files and folders, especially tmp and media/kunena have the 755 permissions.
I am still unable to upload any files with these permissions.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You've probably set the open_basedir directive somewhere. That restricts PHP access to certain directories. Check php.ini and your Apache config files (http.conf, .htaccess, etc). One possibility might be to replace any custom .htaccess file that you might have created with the standard Joomla version (see Search Engine Optimisation (SEO) for tips on how to do that.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
Thanks for that.
I found this in my php.ini
open_basedir=/home/xxxxxxx/public_html
So I removed it and can now upload files and avatars without any issues.
Thanks.
Please Log in or Create an account to join the conversation.