Keyword

unable to upload Microsoft Publisher file from K2 Media Manager

  • Alpesh
  • Alpesh's Avatar Topic Author
  • Offline
  • New Member
More
2 years 5 months ago - 2 years 5 months ago #180117 by Alpesh
below error message has occurred while uploading the Microsoft publisher file from the K2 media manager. i have allowed .pub extension  and also allowed the below-mentioned MIME type in the media setting but still, I'm unable to upload the publisher file from K2 Media manager.
 
Thank you in advance!
Attachments:
Last edit: 2 years 5 months ago by Alpesh.

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

More
2 years 5 months ago #180120 by JoomlaWorks
The quick and easy way is to just zip the file for now and upload it.

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

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

  • Alpesh
  • Alpesh's Avatar Topic Author
  • Offline
  • New Member
More
2 years 5 months ago #180125 by Alpesh
Thank you for your suggestion. i have tried with a zip file but zip file type is not allowed error message is displayed.
already added zip MIME type and extension in the media setting.

I have also tried with other formats like word, pdf, and image but all are working fine.

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

More
2 years 5 months ago #180127 by JoomlaWorks
Zip files are of course allowed in the Media Manager: github.com/getk2/k2/blob/master/administrator/components/com_k2/controllers/media.php#L122

If you can't upload such files, then your webserver or some ModSecurity rule is filtering your uploads.

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

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

  • Alpesh
  • Alpesh's Avatar Topic Author
  • Offline
  • New Member
More
2 years 5 months ago #180128 by Alpesh
Thank you for your quick response. i have added 'application/vnd.ms-publisher' in media.php file and the file type error is resolved but only the 'pub' extension error is displayed.

could you please advise where should i add (file name) the '.pub' extension to upload in K2 Media manager ?

Many Thanks

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

More
2 years 5 months ago #180129 by JoomlaWorks
Sorry, I lost you. You modified that file to include Microsoft Publisher files. Then what happened exactly? If files are still not allowed to be uploaded, it's your server to blame, not K2.

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

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

  • Alpesh
  • Alpesh's Avatar Topic Author
  • Offline
  • New Member
More
2 years 5 months ago #180149 by Alpesh
I don't think so it's our server-side because we are able to upload Publisher format from the media manager. the problem is only from K2 side.

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

More
2 years 5 months ago #180164 by JoomlaWorks
Use that then and simply pick the files in K2 directly from the server.

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