- Posts: 110
- Thank you received: 3
The Kunena team has announce the arrival of Kunena 18.104.22.168 [K 6.1.3] which is now available for download as a native Joomla extension for J! 4.2.x/4.3.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
Question "attachment not found"
For some reason, attachments are broken on the v1.6.2 forum I manage.
Using the file picker, I can add an attachment in the message editor.
If I insert the attachment, the tags appear in the editor window, but when the message is saved, an error message is displayed:
I looked around the configuration settings but didn't find anything, like a pathname field, that looked promising. This was working for us last fall.
Database collation check: The collation of your table fields are correct
Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Enabled |This message contains confidential informationhtaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 160M | Max file upload: 170M
Joomla default template details : Sense | author: K2B-media | version: 1.0.2 | creationdate: 07/20/10
Kunena default template details : Sense-Online | author: MJH | version: 1.0 | creationdate: 27-12-2010
Kunena version detailled: Installed version: 1.6.2 | Build: 3894 | Version name: Team | Kunena detailled configuration:Warning: Spoiler!
[th]Kunena config settings:[/th]
board_title SENSE board_offline 0 board_ofset 0.00 offline_message <h2>The web forum has been taken offline while a minor hiccup is being fixed.</h2> enablerss 1 enablepdf 1 threads_per_page 20 messages_per_page 10 messages_per_page_search 15 showhistory 1 historylimit 6 shownew 1 jmambot 0 disemoticons 0 template sense-online showannouncement 1 avataroncat 0 catimagepath category_images/ showchildcaticon 1 annmodid 62,68,72,831 rtewidth 450 rteheight 300 enableforumjump 1 reportmsg 1 username 0 askemail 0 showemail 1 showuserstats 1 showkarma 0 useredit 1 useredittime 0 useredittimegrace 600 editmarkup 1 allowsubscriptions 1 subscriptionschecked 1 allowfavorites 1 maxsubject 40 maxsig 300 regonly 1 changename 0 pubwrite 0 floodprotection 0 mailmod 0 mailadmin 0 captcha 0 mailfull 1 allowavatar 1 allowavatarupload 1 allowavatargallery 0 avatarquality 75 avatarsize 2048 allowimageupload 0 allowimageregupload 1 imageheight 1025 imagewidth 1025 imagesize 200 allowfileupload 0 allowfileregupload 1 filetypes zip,txt,doc,gz,tgz,pdf,docx filesize 120 showranking 0 rankimages 1 avatar_src fb fb_profile fb pm_component no userlist_rows 30 userlist_online 1 userlist_avatar 1 userlist_name 1 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 0 showstats 1 showwhoisonline 1 showgenstats 1 showpopuserstats 1 popusercount 5 showpopsubjectstats 1 popsubjectcount 5 usernamechange 0 rules_infb 1 rules_cid 69 help_infb 1 help_cid 68 showspoilertag 1 showvideotag 1 showebaytag 0 trimlongurls 1 trimlongurlsfront 40 trimlongurlsback 20 autoembedyoutube 1 autoembedebay 1 ebaylanguagecode en-us fbsessiontimeout 1800 highlightcode 0 rss_type post 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 1 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 50 ordering_system mesid post_dateformat ago post_dateformat_hover datetime hide_ip 1 js_actstr_integration 0 imagetypes jpg,jpeg,gif,png checkmimetypes 1 imagemimetypes image/jpeg,image/jpg,image/gif,image/png imagequality 50 thumbheight 32 thumbwidth 32 hideuserprofileinfo put_empty integration_access auto integration_login auto integration_avatar auto integration_profile auto integration_private auto integration_activity auto boxghostmessage 0 userdeletetmessage 1 latestcategory_in 1 topicicons 1 onlineusers 1 debug 0 catsautosubscribed 0 showbannedreason 0 version_check 1 showthankyou 1 showpopthankyoustats 1 popthankscount 5 mod_see_deleted 0 bbcode_img_secure text listcat_show_moderators 1 lightbox 1 activity_limit 0 show_list_time 720 show_session_type 0 show_session_starttime 0 userlist_allowed 0
Third-party components: AlphaUserPoints: Disabled or not installed | CommunityBuilder: Disabled or not installed | Jomsocial: Disabled or not installed | UddeIm: Disabled or not installed
Third-party SEF components: sh404sef: Disabled or not installed | ARTIO JoomSEF: Disabled or not installed | AceSEF: Disabled or not installed
Plugins: System - Mootools12: Disabled | System - Mootools Upgrade: Enabled | JFirePHP: Disabled or not installed | Kunena Discuss: Disabled or not installed | Kunena Search: Disabled or not installed | My Kunena Forum Menu: Disabled or not installed | My Kunena Forum Posts: Disabled or not installed
Modules: Kunena Latest: Disabled or not installed | Kunena Stats: Disabled or not installed | Kunena Login: Disabled or not installed
what browser do you using ? Do you have tried with an another one ?
I don't provide support by PM, because this can be useful for someone else.
(a) "attachment not found" ; and
in the hope that some of these topics might be helpful to you.
I just discovered the cause: it was a permissions problem with this directory: /media/kunena/attachments
Changing it from 755 to 775 fixed things.
There seems to be recurring issues with permissions on the server which I host my Joomla site on; I am switching webhosting companies next week and I hope this problem will be solved for good.
The lesson seems to be: not all so-called Joomla webhosting companies are equal.
I agree. Good point.
cbrace wrote: The lesson seems to be: not all so-called Joomla webhosting companies are equal.
Just a quick follow-up: I am testing my Joomla site on a new host. I made a backup with Akeeba and installed it on the new server.
Everything went fine except I did again have to manually modify the permissions for /media/kunena. Are the default settings in Kunena too restrictive? Once I added write permission to group and other, attachments worked again. I find this odd, since the webserver reads and writes as owner of the files. Why would the Kunena need group or other write permission to write files?
I notice for example that another Joomla extension I use, the excellent, DOCman, manages to write files in its document directory with the default settings, -rw-r--r--
Who actually owns the files? See Avatar doesn't change or save on 1.6 and please read the entire discussion.
cbrace wrote: ... the webserver reads and writes as owner of the files.
The thing is, when you restore a Akeeba backup, EVERYTHING is owned the webserver, as it is recreating all the files and directories, no? I haven't touched anything via ftp or ssh.
I still don't understand why after the webserver itself installs my Joomla site from the Akeeba backup Kunena still can't write to /media/kunena/, even though it is owned like every other directory by the the webserver.
Sozzled, sorry if I seem dense. I am just a part-time webmaster and Joomla tinkerer.
I spend so much time at this forum, I don't have time for my own webcraft. I'm just a user, mate.
cbrace wrote: Sozzled, sorry if I seem dense. I am just a part-time webmaster and Joomla tinkerer.
You'll just have to take my advice on faith. We don't have the problems here (that I'm aware of) and I don't have the problems in my own case (that I'm aware of) but these problems may still occur despite all the best-laid plans that we have. The most important thing to know is this: what happens now, when you upload a new file, a new attachment to a post on your website? Do you get an "attachment not found" error?
The most important thing to know is this: what happens now, when you upload a new file, a new attachment to a post on your website? Do you get an "attachment not found" error?
OK. Last night I moved the site (definitively) to the new host, restoring the Akeeba backup.
Everything on the new server worked fine, except Kunena message attachments ("attachment not found"). I ran chmod -R go+w on /media/kunena. Problem solved.
Perhaps Akeeba is interfering with permissions?
This evening I will test this again here at home on my Fedora desktop system running Apache.
Since I have solved the problem, I don't want to take up too much more of your valuable time, but it might be nice to figure out what is going on here.