Keyword

Download attachments - File does not exist

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 1 week ago #73289 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
Don`t work.What else have any suggestions or ideas?

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

More
14 years 10 months ago #73290 by Matthias Jäger
Replied by Matthias Jäger on topic Download attachments - File does not exist
hi,

i have the same problem!!! no fixes???

regards emmjott

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

More
14 years 10 months ago #73291 by Matthias Jäger
Replied by Matthias Jäger on topic Download attachments - File does not exist
hey again,

i have a fix for this problem.

use the item.php file from the current svn-trunk of joomlaworks code.google.com/p/joomlaworks/source/browse/trunk/K2/administrator/components/com_k2/models/item.php

Now i can upload many file-type such as jpg, png, zip, gif, doc, .....

Reagards emmjott

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

  • David GIRAUD-AUDINE
  • David GIRAUD-AUDINE's Avatar
  • Offline
  • New Member
More
13 years 7 months ago #73292 by David GIRAUD-AUDINE
Replied by David GIRAUD-AUDINE on topic Download attachments - File does not exist
I re-up Alexander question since I have a problem with attachement but only for pdf files.

 

Does anyone knows how to authorize pdf since it the most popular format on website ?

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

More
13 years 2 weeks ago #73293 by Marek Prochniak
Replied by Marek Prochniak on topic Download attachments - File does not exist
in administrator/components/com_k2/lib/class.upload.php:

in line 2134 change:

"video/*");


to:

"video/*","application/force-download");


in line 2934 change:

$this->allowed            = array();


to:

//$this->allowed            = array();


in line 2506 change:

$this->file_src_mime = mime_content_type($this->file_src_pathname);


to:

$this->file_src_mime = mime_content_type($this->file_src_name);

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

More
11 years 8 months ago #73294 by Stephen Hare
Replied by Stephen Hare on topic Re: Download attachments - File does not exist
Hi David,

Did you find a solution to your PDF upload problem. I have the same issue now!

Thanks,

Stephen

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

More
11 years 8 months ago #73295 by Stephen Hare
Replied by Stephen Hare on topic Re: Download attachments - File does not exist
Found the solution on another thread.

I was using Firefox (V18) on a Mac. This worked fine on the local site, but now the site is on a Microsoft server, K2 PDF attachments will not upload. (it is not the file extension) but the content of the file!!

Switching to Chrome makes everything work!

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


Powered by Kunena Forum