Keyword

Download attachments - File does not exist

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73279 by Alexander Siryj
Download attachments - File does not exist was created by Alexander Siryj
What`s wrong? I am uploading a valid zip archive.Permissions on the all media/k2 folders is 777.
Use IE,Chrome,Mozilla.

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

More
15 years 7 months ago #73280 by Lefteris
Replied by Lefteris on topic Download attachments - File does not exist
Hi. Is your file being uploaded? Please check that the file exists on the attachments folder.

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73281 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
File add from K2 items menu (attachment bookmark) pic 1, but on attachments folder i don`t see it pic2.
pic 1



pic 2



Lefteris Kavadas said:Hi. Is your file being uploaded? Please check that the file exists on the attachments folder.

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

More
15 years 7 months ago #73282 by Lefteris
Replied by Lefteris on topic Download attachments - File does not exist
Hi. Are you using the latest version of K2? Also check that you use a safe file name for your zip file.

Alexander Siryj said:File add from K2 items menu (attachment bookmark) pic 1, but on attachments folder i don`t see it pic2. pic 1



pic 2



Lefteris Kavadas said:Hi. Is your file being uploaded? Please check that the file exists on the attachments folder.

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73283 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
K2 v2.0

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73284 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
Last update 6 August

Alexander Siryj said:K2 v2.0

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73285 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
Update to (Last update: September 9th, 2009 - v2.1), but problem remain " File does not exist".

Alexander Siryj said:Last update 6 August
Alexander Siryj said:K2 v2.0

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

More
15 years 7 months ago #73286 by Lefteris
Replied by Lefteris on topic Download attachments - File does not exist
Hi. Try to add some more attachments after the upgrade. Also try to add different files. This might help us to find out what's happening.

Alexander Siryj said:Update to (Last update: September 9th, 2009 - v2.1), but problem remain " File does not exist".
Alexander Siryj said:Last update 6 August Alexander Siryj said:K2 v2.0

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #73287 by Alexander Siryj
Replied by Alexander Siryj on topic Download attachments - File does not exist
txt, jpg add good, but zip and rar don`t add.

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

More
15 years 7 months ago #73288 by Lefteris
Replied by Lefteris on topic Download attachments - File does not exist
Hi. Open the file /administrator/components/com_k2/models/item.php and after line 345 :

$handle->file_auto_rename = true;

paste the following code:

$handle->allowed[] = 'application/x-zip';

This should fix your problem.

Alexander Siryj said:txt, jpg add good, but zip and rar don`t add.

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

  • Alexander Siryj
  • Alexander Siryj's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months 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
15 years 5 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
15 years 5 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
14 years 2 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 7 months 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
12 years 4 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
12 years 4 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