1
sadistiko
Publisher can't publish PDF or ZIP
  • 2015/5/6 9:18

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


I'm trying to fix this for my client but I can't.
Site has Xoops 2.5.6
Publisher 1 final

Upload of PDF works in News module but on Publisher I get error and file is uploaded in uploads/module_name/content folder but it's not visible for visitors of this article.
I enabled in mime types in Publisher that admin can upload ZIP's and PDF's but it gives me error:

MIME type not allowed: application/pdf
MIME type not allowed: application/pdf

I know there is written that you can upload only HTM or HTML files but why is there so much others mime types in preferences for this module? I'm confused.

Also, other big problem for clients is that Preview button goes nowhere and you lost all your work if you didn't submit it first

Please help.
I hope someone still works on this great module.

2
goffy
Re: Publisher can't publish PDF or ZIP
  • 2015/5/10 11:30

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi sadistiko

upload pdf:
please go to settings of the mimetypes and change associated mimetype for pdf from
application/pdf application/acrobat application/x-pdf applications/vnd.pdf text/pdf

to
application/pdf application/acrobat application/x-pdf applications/vnd.pdf text/pdf application/force-download


let me know, whether it works now or not


upload zip:
should normally work. please check assoziated mimetypes. maybe you can post them then I can find out the problem.



Login

Who's Online

96 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 96


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits