- Posts: 15
COMMUNITY FORUM
K2 item - pdf attachment
- Udi Tiran
- Topic Author
- Offline
- New Member
Less
More
4 years 11 months ago #173994
by Udi Tiran
K2 item - pdf attachment was created by Udi Tiran
Hi,
It's great to see K2 getting updated.
I'm using K2 v2.10.1 and i thing there is a problem with item attachment.
When adding a PDF file, the file is being uploaded to media/k2/attachments but it is being changed from xxx.pdf to xxx.txt
This is also how it appears in the k2 item after the upload.
As a result, the file can't be opened on the front-end.
I have tested with several PDF files - same result.
Thank you
It's great to see K2 getting updated.
I'm using K2 v2.10.1 and i thing there is a problem with item attachment.
When adding a PDF file, the file is being uploaded to media/k2/attachments but it is being changed from xxx.pdf to xxx.txt
This is also how it appears in the k2 item after the upload.
As a result, the file can't be opened on the front-end.
I have tested with several PDF files - same result.
Thank you
Please Log in or Create an account to join the conversation.
- Chad Criswell
- Offline
- Junior Member
Less
More
- Posts: 21
4 years 11 months ago #174001
by Chad Criswell
Replied by Chad Criswell on topic K2 item - pdf attachment
It's doing this to me too. On three different sites with K2 installed. ANY pdf uploaded as an attachment to a K2 article is having it's filename changed to .txt... HELP!
Please Log in or Create an account to join the conversation.
- Chad Criswell
- Offline
- Junior Member
Less
More
- Posts: 21
4 years 11 months ago #174006
by Chad Criswell
Replied by Chad Criswell on topic K2 item - pdf attachment
Just FYI, this is not fixed in the new version x.2 that was just released. I updated, tried it and it still rewrites the title as .txt
Please Log in or Create an account to join the conversation.
- Udi Tiran
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
4 years 11 months ago #174008
by Udi Tiran
Replied by Udi Tiran on topic K2 item - pdf attachment
same result :(
updated to K2 v2.10.2 and still .pdf turns to .txt
updated to K2 v2.10.2 and still .pdf turns to .txt
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #174030
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2 item - pdf attachment
Your issues boil down to MIME detection problems on your server, perhaps broken libs use by the system to determine file types.
As a way to bypass the issue for now, use the "browse server" option in the attachments to upload any files and then select them to use them.
As a way to bypass the issue for now, use the "browse server" option in the attachments to upload any files and then select them to use them.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.