1
ahnah
"News" ver 1.13 error
  • 2004/12/16 14:12

  • ahnah

  • Just popping in

  • Posts: 9

  • Since: 2004/11/29


Problem encounter in this module .."News" ver 1.13


The error is :-

Denied(1)MIME[application/binary]ext[zip]AcceptMIME[gif|jpe?g|png|bmp|video|audio|zip|lzh|pdf|excel|powerpoint|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg|x-shockwave]


When I try to upload a file with an article ... can somone help ?

2
ahnah
Re: "News" ver 1.13 error
  • 2004/12/17 0:55

  • ahnah

  • Just popping in

  • Posts: 9

  • Since: 2004/11/29


Quote:

ahnah wrote:
Problem encounter in this module .."News" ver 1.13


The error is :-

Denied(1)MIME[application/binary]ext[zip]AcceptMIME[gif|jpe?g|png|bmp|video|audio|zip|lzh|pdf|excel|powerpoint|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg|x-shockwave]


When I try to upload a file with an article ... can somone help ?
\


help help ..

3
ahnah
Re: "News" ver 1.13 error
  • 2004/12/17 0:55

  • ahnah

  • Just popping in

  • Posts: 9

  • Since: 2004/11/29


Quote:

ahnah wrote:
Problem encounter in this module .."News" ver 1.13


The error is :-

Denied(1)MIME[application/binary]ext[zip]AcceptMIME[gif|jpe?g|png|bmp|video|audio|zip|lzh|pdf|excel|powerpoint|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg|x-shockwave]


When I try to upload a file with an article ... can somone help ?
\


help help ..

4
hervet
Re: "News" ver 1.13 error
  • 2005/3/20 19:19

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Ti be able to upload zip files, edit the file called /xoops/modules/news/submit.php and find the following line (443) :
Quote:

$permittedtypes=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png' ,'application/x-zip-compressed', 'application/pdf', 'application/x-gtar', 'application/x-tar');


replace it with :

Quote:

$permittedtypes=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png' ,'application/zip', 'application/pdf', 'application/x-gtar', 'application/x-tar');


in fact, application/x-zip-compressed was replaced by application/zip

Login

Who's Online

370 user(s) are online (316 user(s) are browsing Support Forums)


Members: 0


Guests: 370


more...

Donat-O-Meter

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

Latest GitHub Commits