Keyword

K2 item - pdf attachment

  • Udi Tiran
  • Udi  Tiran's Avatar Topic Author
  • Offline
  • New Member
More
1 month 1 week ago #173994 by Udi Tiran
Udi Tiran created the topic: K2 item - pdf attachment
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

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

More
1 month 1 week ago #174001 by Chad Criswell
Chad Criswell replied the 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.

More
1 month 1 week ago #174006 by Chad Criswell
Chad Criswell replied the 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
  • Udi  Tiran's Avatar Topic Author
  • Offline
  • New Member
More
1 month 6 days ago #174008 by Udi Tiran
Udi Tiran replied the topic: K2 item - pdf attachment
same result :(
updated to K2 v2.10.2 and still .pdf turns to .txt

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 6 days ago #174030 by Fotis
Fotis replied the 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.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum