Keyword

CAN'T Download attached file - why ?

More
12 years 8 months ago #61880 by Tom
Hello Everyone

I have attached file to item in k2, but on web its not possible to download it.
Where is problem and how to solve it ?
Perhaps, i have wrong permissions.. ?
If so, to which file i should change permissions so my attachments could be possible to download ?

Thank You for Your help.

Regards,
Tom

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

More
12 years 8 months ago #61881 by Renea
Replied by Renea on topic Re: CAN'T Download attached file - why ?
Have you upgraded K2 recently and are currently using a template override?

The latest versions of K2 changed the way "attached files" are downloaded. You will need to upgrade your custom template to reflect the new code.

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

More
12 years 8 months ago #61882 by Tom
Dear Renea

Thank You for Your reply.
What is template override and how to upgrade my custom template ?
If there is tutorial for this how to do, please, let me know the link.

Thank You for Your help.

Regards,
Tom

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

More
12 years 8 months ago #61883 by william white

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

More
12 years 7 months ago - 12 years 7 months ago #61884 by Tomy
Replied by Tomy on topic Re: CAN'T Download attached file - why ?
:( This extension was good! I entered a new folder to my own files but.... Ehhhh... Am not happy. It is too complicated to make it to my own image...
I use the default template and can't download the attachments!

I have wrote this on JED:

I use J2.51 and K2 2.5.4.
I entered in the Joomla settings the "default" media path for example "files".
In the K2 media center i get back the path from the Joomla settings. It's ok.
In the K2 settings I make a new folder for example "downloads". I was entered this folder without any slash "/".

Version 1:
If I create a new article with an attachment, the K2 create a new folder into the "administrator" folder and put the uploaded attachment into this new folder.
If I want download the attachment I get an error: "File doesn't exist"!

Version 2:
If I upload my files into myself created folder via FTP and I go to K2 to create a new article with an attachment and I choose this file then the file will be moved into the folder what is entered on K2 settings. And...
If I want download the attachment I get an error: "File doesn't exist"!

K2 working only with his "original/default" path...
Thanks! :(

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

More
12 years 7 months ago #61885 by Novalee
Replied by Novalee on topic Re: CAN'T Download attached file - why ?
Hi there,

has anybody a solution yet?

Thanks,
Stefanie

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


Powered by Kunena Forum