1
mutte
news 1.44 can't upload word documents
  • 2006/10/21 11:24

  • mutte

  • Just popping in

  • Posts: 11

  • Since: 2005/5/8 1


greetings,

I'm struggling with the upload of word documents in the news 1.44 module while pdf files are going smoothly.

When I upload I receive this error :

MIME type not allowed: application/msword


in filup.ini.php I changed subtype to the following

$subtype = "gif|jpe?g|png|bmp|video|audio|zip|
lzh|pdf|excel|msword|powerpoint|octet-stream|
x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg|x-shockwave";

I also tryed adding "word", "ms-word", "application/msword", "doc"

but I keep getting the same error.

Can anybody help me out ? I hope I'm giving enough information tnx anyway !

maarten

2
krystinevo
Re: news 1.44 can't upload word documents

Hi Maarten,


I believe you need to modify the submit.php file as mentioned in this thread.

Course, I've been known to be wrong

Kristine
Everything is as it should be

3
mutte
Re: news 1.44 can't upload word documents
  • 2006/10/22 6:55

  • mutte

  • Just popping in

  • Posts: 11

  • Since: 2005/5/8 1


tnx kristine, that did the job.

I found that thread earlier but thought it hadn't anything to do with my problem ...

So for this time, you weren't wrong

4
krystinevo
Re: news 1.44 can't upload word documents

Man, I love it when I'm not wrong. *Scribbles event down on calendar*

Addendum: If you want to attach PowerPoint files to your news stories, add the following code:

$permittedtypes=array('image/gif''image/jpeg''image/pjpeg''image/x-png''image/png' ,'application/x-zip-compressed''application/pdf''application/x-gtar''application/msexcel''application/vnd.ms-excel','application/msword''application/x-tar''application/vnd.ms-powerpoint');
Everything is as it should be

Login

Who's Online

129 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 129


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