Kunena 7.0.4 Released

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

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 [Resolved] Issues with attachments not showing in K 1.7

More
14 years 5 months ago #111243 by sozzled
Do you have an example of a message, containing an attachment, that illustrates the issue, please?

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

More
14 years 5 months ago - 14 years 5 months ago #111245 by Sabby
Not sure if I can post links, but here is a post that should have two attachements.
One being an image the second being a txt file.

www.fragaholics.net/forum/40-sc2-replay-...ews/2490-test-upload

You see nothing, but when you edit the post you see
Code:
[attachment=4]ADMIN.PNG[/attachment] File [attachment=5]dictionary.txt[/attachment]

I look in the user directory for media/kunena/attachments and I see the files.
I can also look in the database and see the two records for the attachments.
I have tried default templates as well.
Last edit: 14 years 5 months ago by Sabby.

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

More
14 years 5 months ago #111247 by sozzled
Well, of course, I cannot edit the post(s) on your forum.

In which exact folder of ../media/kunena/attachments are those files?

Images in K1.7 are located in the folder ../media/kunena/attachments and, within that, in a numbered folder name that corresponds to the Joomla) user-id. So, for example if your user-id = 65 your attachments are all stored in ../media/kunena/attachments/65 So, this problem may have been created if jUpgrade didn't move the folders when it moved the users.

Within these ../media/kunena/attachments/user-id folders there is another folder ../media/kunena/attachments/65/thumb where the thumbnail images are stored.

You also need to CHMOD the files in ../media/kunena/attachments (and recurse through all sub-folders) to 644. I hope this helps.

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

More
14 years 5 months ago #111249 by Sabby
I thought about that as well but the files are being writen to the thumbs as well, so for example if I add an attachment, there is a file added to media/kuenena/attachments/42/
There is also a file added to media/kuenena/attachments/42/thumb/ so it doesn't seem to be a permission problem. Here is an interesting question. What is the default location for the Kunena menu? I did change that to be on the left nav but can't set it back to the default location. I wonder if it's that, I only bring this up because when I go to edit a post with an attachment, I see the attachment in the lower part of the screen where I can click on it and open it.

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

More
14 years 5 months ago #111252 by sozzled

Sabby wrote: What is the default location for the Kunena menu?

I don't know what this has to do with your problem. The default location of the Kunena menu is as you see it here, on this forum. You've done things quite differently on your forum and, in part, its behaviour has to do with the template that you're using and the module position that you've assigned to the kunenamenu menu. We can answer questions about your Kunena menu, if you like, but please use a different topic to ask those questions.

Can we please stay on topic. If your user-id is 42 (which would seem right for J! 1.7) and your attachment has been stored in ../media/kuenena/attachments/42/ (and any image thumbnails are in ..media/kuenena/attachments/42/thumb/) then this seems right to me. These are things that someone with FTP and backend access to your site would need to look at. You also need to check in the SQL table kunena_attachments what may be going on there, too.

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

More
14 years 5 months ago #111259 by Sabby
I was thinking that the location of the menu could possibly be related given that the files are being uploaded correctly, this I have confirmed. The database shows the records in the attachments table as you have suggested.

So,
File actually being uploaded to the correct location - checked and OK.
Database records be written - checked and OK.

As I posted prior, when I go and edit the post I see attachments and I am able to open them and view them which further supports the confirmation that the files are being uploaded and the database records have written. The attachment link is the problem, it just doesn't show regardless which template I use.

I have a feeling I am going to have to go line by line in the code to find out why the attachment links are not being displayed.

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

Time to create page: 0.244 seconds