Keyword

Attachments STILL broken? Problems with MP3 files being renamed to TXT

More
1 month 3 weeks ago #175264 by James Riley
James Riley replied the topic: Attachments STILL broken? Problems with MP3 files being renamed to TXT

Fotis wrote: Try commenting out this line: github.com/getk2/k2/blob/master/administrator/components/com_k2/models/item.php#L439
Let me know.


I've commented out Line 439 [ $handle->file_new_name_body = JFile::stripExt($filename); ]
The file is not only still saved as a txt file, but also renamed with a random file name (see attached screen clipping; you can see the original file name maintained in the download link).
Attachments:

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #175265 by Fotis
Fotis replied the topic: Attachments STILL broken? Problems with MP3 files being renamed to TXT
Revert the change.

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