- Posts: 6
COMMUNITY FORUM
Attachments not work for somes file type
- Ibrahim Noor
- Topic Author
- Offline
- New Member
Less
More
15 years 3 months ago #69991
by Ibrahim Noor
Attachments not work for somes file type was created by Ibrahim Noor
Hello,
I'm new. I try K2 and found attachments not work for somes file types such mp3 and pdf.
File does not exist
How to make it works?
attachment Link title (optional), but when i leave it blank the download link doesn't appear?
I hope final version will fixed it.
Thanks
I'm new. I try K2 and found attachments not work for somes file types such mp3 and pdf.
File does not exist
How to make it works?
attachment Link title (optional), but when i leave it blank the download link doesn't appear?
I hope final version will fixed it.
Thanks
Please Log in or Create an account to join the conversation.
- Tero Lepistö
- Offline
- New Member
Less
More
- Posts: 2
15 years 1 month ago #69992
by Tero Lepistö
Replied by Tero Lepistö on topic Attachments not work for somes file type
Patched this one... So You need to replace administrator/components/com_k2/models/item.php
So replace function upload() At line ~616 with this attachment.
So replace function upload() At line ~616 with this attachment.
Please Log in or Create an account to join the conversation.
- Ibrahim Noor
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
15 years 1 month ago #69993
by Ibrahim Noor
Replied by Ibrahim Noor on topic Attachments not work for somes file type
Hi,
Thanks for help reply, but your attachment patch content is function download() not function upload()
Would you please send function upload()
thanks.
Thanks for help reply, but your attachment patch content is function download() not function upload()
Would you please send function upload()
thanks.
Please Log in or Create an account to join the conversation.
- Matthias Jäger
- Offline
- New Member
Less
More
- Posts: 8
15 years 1 day ago #69994
by Matthias Jäger
Replied by Matthias Jäger on topic Attachments not work for somes file type
hi,
i have the same problem, function upload does not exists in the item.php file.
any comments?
thanks.
i have the same problem, function upload does not exists in the item.php file.
any comments?
thanks.
Please Log in or Create an account to join the conversation.
- Shea Dawson
- Offline
- New Member
Less
More
- Posts: 12
14 years 11 months ago #69995
by Shea Dawson
Replied by Shea Dawson on topic Attachments not work for somes file type
I really need a solution to this problem.
I suspect the issues lies in administrator/components/com_k2/lib/class.upload.php.
I Have hada a reasonable look through the file and changed some things which i thought may have helped but no luck.. its a little beyond me.
It's a really annoying issue, any other file type I have tried uploads fine... WAV files, PDF etc no problems.
Can anyone help us? ??
Thanks!
Shea
I suspect the issues lies in administrator/components/com_k2/lib/class.upload.php.
I Have hada a reasonable look through the file and changed some things which i thought may have helped but no luck.. its a little beyond me.
It's a really annoying issue, any other file type I have tried uploads fine... WAV files, PDF etc no problems.
Can anyone help us? ??
Thanks!
Shea
Please Log in or Create an account to join the conversation.
- Shea Dawson
- Offline
- New Member
Less
More
- Posts: 12
14 years 11 months ago #69996
by Shea Dawson
Replied by Shea Dawson on topic Attachments not work for somes file type
Great alternative option here.. works like a charm :)
k2community.joomlaworks.gr/forum/topics/found-a-way-to-add-mp3-files
k2community.joomlaworks.gr/forum/topics/found-a-way-to-add-mp3-files
Please Log in or Create an account to join the conversation.