Keyword

attachments doesn't work in 2.10.0

More
5 years 5 months ago #173619 by Alexx
attachments doesn't work in 2.10.0 was created by Alexx
Hi everybody.
Everything fine, but any file after upload has an extention .tmp
Downloaded file with same ext.

I cannot slove it by myself. Need some help...

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

More
5 years 5 months ago #173625 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
IIS user?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 5 months ago #173627 by Alexx
Replied by Alexx on topic attachments doesn't work in 2.10.0
It depends from mime? Or from extention?
.txt - files uploading normaly.
Other - not.
see attachments.
Attachments:

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

More
5 years 5 months ago #173630 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
Make sure the files you upload are included in Apache's mapped MIME types.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 5 months ago #173631 by Alexx
Replied by Alexx on topic attachments doesn't work in 2.10.0
Please, where can I find "Apache's mapped MIME types" ?

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

More
5 years 5 months ago #173632 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
Make sure mod_mime is installed with Apache: httpd.apache.org/docs/2.4/mod/mod_mime.html

Default MIME types are listed here: svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 5 months ago #173665 by Alexx
Replied by Alexx on topic attachments doesn't work in 2.10.0
Sorry, Fotis.

On a same server:
Working on K2_2.9.0 (good ext.)
NOT working on K2_2.10.0 (.tmp ext.)

I do now know why.
And I'll be glad, if you will help ))

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

More
5 years 5 months ago #173670 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
OK, I'll double-check the code for that and apply any changes on 2.10.1 out by Friday.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 5 months ago #173679 by Alexx
Replied by Alexx on topic attachments doesn't work in 2.10.0
Thank you, Fotis.
You are my only hope ! ))

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

More
5 years 4 months ago #173860 by Alexx
Replied by Alexx on topic attachments doesn't work in 2.10.0
Hi, Fotis.
Attachments in k2 2.10.x works perfectly only in linux.
I found it by installing linux mint && xampp on a virtualbox. ))

That xampp, and other local servers on Windows not works with attachments properly.

Have you any idea ?

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

More
5 years 4 months ago #173877 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
Apparently the issue occurs either with Apache or IIS on Windows only. You're the 4th person to reference this issue (the other 3 used IIS). I will short it out in 2.10.2 or 2.10.3, but it's not my utmost priority as 99,999% of Joomla hosting is done on Linux servers with cPanel or Plesk on them.

In the meantime, as a workaround, use the "browse server" option which opens up the K2 Media Manager. Upload attachments through that and then simply select them for usage.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 1 month ago #175193 by Marek Wojtaszek
Replied by Marek Wojtaszek on topic attachments doesn't work in 2.10.0
System: Linux 21651.v.tld.pl 4.4.186.core2.39 #1 SMP Mon Jul 22 07:13:32 CEST 2019 x86_64

mod_mime loaded

V9 works fine V10 mp3 is renamed to txt

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

More
5 years 4 weeks ago #175204 by JoomlaWorks
Replied by JoomlaWorks on topic attachments doesn't work in 2.10.0
a) Please don't cross post. :)

b) Try commenting out this line: github.com/getk2/k2/blob/master/administrator/components/com_k2/models/item.php#L439

Let me know.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum