- Posts: 7
COMMUNITY FORUM
Download attachments - File does not exist
- Alexander Siryj
-
Topic Author
- Offline
- New Member
Use IE,Chrome,Mozilla.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Alexander Siryj
-
Topic Author
- Offline
- New Member
- Posts: 7
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.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
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
-
Topic Author
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.
- Alexander Siryj
-
Topic Author
- Offline
- New Member
- Posts: 7
Alexander Siryj said:K2 v2.0
Please Log in or Create an account to join the conversation.
- Alexander Siryj
-
Topic Author
- Offline
- New Member
- Posts: 7
Alexander Siryj said:Last update 6 August
Alexander Siryj said:K2 v2.0
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
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
-
Topic Author
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
$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
-
Topic Author
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.
- Matthias Jäger
-
- Offline
- New Member
- Posts: 8
i have the same problem!!! no fixes???
regards emmjott
Please Log in or Create an account to join the conversation.
- Matthias Jäger
-
- Offline
- New Member
- Posts: 8
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
-
- Offline
- New Member
- Posts: 14
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.
- Marek Prochniak
-
- Offline
- New Member
- Posts: 1
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.
- Stephen Hare
-
- Offline
- New Member
- Posts: 2
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.
- Stephen Hare
-
- Offline
- New Member
- Posts: 2
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.