1
ocean
excel file upload problem with wf-downloads
  • 2006/3/7 0:16

  • ocean

  • Friend of XOOPS

  • Posts: 15

  • Since: 2004/2/18


I am trying to upload an excel file in wf-downloads 3.0 installed on my XOOPS 2.3.4. It gives me the error :
MIME type not allowed: application/octet-stream

I created a mimetype in wf-downloads for the extension xls and added tye following contents for it (all separated with a space, no line breaks) application/msexcel application/x-msexcel application/x-ms-excel application/vnd.ms-excel application/x-excel application/x-dos_ms_excel application/xls application/x-xls application/zz-winassoc-xls

no way! still the same error... Even though the record is not added into the database, the file is however transfered in the uploads/ directory (i think this is a bug)

i looked through the website to seek answers but all I could find was a post talking about class/mimetypes.inc.php. I checked that file to discover that it already contains
"xla" => "application/vnd.ms-excel",
"xls" => "application/vnd.ms-excel",
"xlt" => "application/vnd.ms-excel",

now running out of ideas. can anyone please help me?
best
servet

Login

Who's Online

158 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

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

Latest GitHub Commits