1
pinchecl
wfdownloads and mimetype question
  • 2010/5/31 9:32

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Can anyone help me to configure a mimetype for .CAB files.
When uploading such a file I get the error mimetype unknown/unknown. I can not get it right, whichever type I create for it.
No doubt I'm doing something wrong but what? I'ld appreciate any help
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

2
pinchecl
Re: wfdownloads and mimetype question
  • 2010/6/1 7:52

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


**bump** nobody??
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

3
ghia
Re: wfdownloads and mimetype question
  • 2010/6/1 10:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What did you already tried and what where the results?

4
pinchecl
Re: wfdownloads and mimetype question
  • 2010/6/1 11:47

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


tnx for reacting ghia. I tried several things. Set it as an octet-stream, set it as a compressed file(which it basically is), even used the application/vnd.ms-cab-compressed setting but all returned the error unknown/unknown. I'm stuck
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

5
mboyden
Re: wfdownloads and mimetype question
  • 2010/6/1 14:45

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Did you set it as an allowed upload for users and admins? Are you logged in as a user or an admin when uploading? XOOPS version? Version of wfdownloads? Size of file uploading? Is it larger than the preference set? What about PHP settings for uploads?
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

6
pinchecl
Re: wfdownloads and mimetype question
  • 2010/6/2 5:26

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Quote:

mboyden wrote:
Did you set it as an allowed upload for users and admins? Are you logged in as a user or an admin when uploading? XOOPS version? Version of wfdownloads? Size of file uploading? Is it larger than the preference set? What about PHP settings for uploads?


Yes, I did set it as allowed for both. I'm logged in as an admin but also tried as a user. I'm using xoops 2.4.4.
The upload is only a small 1mb (I have uploaded it now as a zip file!) while I have set the limit to 200mb (max_upload_size and wfdownloads config).
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

7
pinchecl
Re: wfdownloads and mimetype question
  • 2010/6/3 5:28

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


**bump**
can it be solved?
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

8
ghia
Re: wfdownloads and mimetype question
  • 2010/6/3 8:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


As it is for upload, it is also up to your browser and/or OS to specify the correct mime type.

9
pinchecl
Re: wfdownloads and mimetype question
  • 2010/6/3 12:53

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Quote:

ghia wrote:
As it is for upload, it is also up to your browser and/or OS to specify the correct mime type.


oops, how dumm can one be. Tnx ghia, that did the trick
Welcome tohttp://www.skinnalicious.net
http://fabricandfelt.com
http://www.pinchetti.com

Login

Who's Online

244 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

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

Latest GitHub Commits