Error while downloading file (Mime Type not found)

Phoca Download - download manager
webgyrl
Phoca Member
Phoca Member
Posts: 18
Joined: 01 Feb 2011, 00:52

Error while downloading file (Mime Type not found)

Post by webgyrl »

Hi There,

I am trying to allow users to be able to download a video file and when I am testing I am getting this error "Error while downloading file (Mime Type not found)" for Mp4 videos.

I am not sure why as the stream works fine.

In the Phoca Download Options - General Category I have the following settings for:

Allowed File Types (Download):
{hqx=application/mac-binhex40} {cpt=application/mac-compactpro} {csv=text/x-comma-separated-values} {bin=application/macbinary} {dms=application/octet-stream} {lha=application/octet-stream} {lzh=application/octet-stream} {exe=application/octet-stream} {class=application/octet-stream} {psd=application/x-photoshop} {so=application/octet-stream} {sea=application/octet-stream} {dll=application/octet-stream} {oda=application/oda} {pdf=application/pdf} {ai=application/postscript} {eps=application/postscript} {ps=application/postscript} {smi=application/smil} {smil=application/smil} {mif=application/vnd.mif} {xls=application/vnd.ms-excel} {ppt=application/powerpoint} {wbxml=application/wbxml} {wmlc=application/wmlc} {dcr=application/x-director} {dir=application/x-director} {dxr=application/x-director} {dvi=application/x-dvi} {gtar=application/x-gtar} {gz=application/x-gzip} {php=application/x-httpd-php} {php4=application/x-httpd-php} {php3=application/x-httpd-php} {phtml=application/x-httpd-php} {phps=application/x-httpd-php-source} {js=application/x-javascript} {swf=application/x-shockwave-flash} {sit=application/x-stuffit} {tar=application/x-tar} {tgz=application/x-tar} {xhtml=application/xhtml+xml} {xht=application/xhtml+xml} {zip=application/x-zip} {mid=audio/midi} {midi=audio/midi} {mpga=audio/mpeg} {mp2=audio/mpeg} {mp3=audio/mpeg} {aif=audio/x-aiff} {aiff=audio/x-aiff} {aifc=audio/x-aiff} {ram=audio/x-pn-realaudio} {rm=audio/x-pn-realaudio} {rpm=audio/x-pn-realaudio-plugin} {ra=audio/x-realaudio} {rv=video/vnd.rn-realvideo} {wav=audio/x-wav} {bmp=image/bmp} {gif=image/gif} {jpeg=image/jpeg} {jpg=image/jpeg} {jpe=image/jpeg} {png=image/png} {tiff=image/tiff} {tif=image/tiff} {css=text/css} {html=text/html} {htm=text/html} {shtml=text/html} {txt=text/plain} {text=text/plain} {log=text/plain} {rtx=text/richtext} {rtf=text/rtf} {xml=text/xml} {xsl=text/xml} {mpeg=video/mpeg} {mpg=video/mpeg} {mpe=video/mpeg} {qt=video/quicktime} {mov=video/quicktime} {avi=video/x-msvideo} {flv=video/x-flv} {movie=video/x-sgi-movie} {doc=application/msword} {xl=application/excel} {eml=message/rfc822} {pptx=application/vnd.openxmlformats-officedocument.presentationml.presentation} {xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet} {docx=application/vnd.openxmlformats-officedocument.wordprocessingml.document} {rar=application/x-rar-compressed} {odf=application/x-vnd.oasis.opendocument.formula}

Allowed File Types (Upload)
{pdf=application/pdf} {ppt=application/powerpoint} {gz=application/x-gzip} {tar=application/x-tar} {tgz=application/x-tar} {zip=application/x-zip} {bmp=image/bmp} {gif=image/gif} {jpeg=image/jpeg} {jpg=image/jpeg} {jpe=image/jpeg} {png=image/png} {tiff=image/tiff} {tif=image/tiff} {txt=text/plain} {mpeg=video/mpeg} {mpg=video/mpeg} {mpe=video/mpeg} {qt=video/quicktime} {mov=video/quicktime} {avi=video/x-msvideo} {flv=video/x-flv} {doc=application/msword}

Amy I missing something? If I am, what am I missing so that I can allow Mp4 video downloads please/

See screenshots below:
Click link for screenshot 1
http://img339.imageshack.us/img339/8728/phocaerror1.gif
Click link for screenshot 2
http://img821.imageshack.us/img821/632/phocaerror2.jpg

Thanks!

Tags:
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Error while downloading file (Mime Type not found)

Post by reko »

hi,
you need to add mp4 to the list of allowed file types (search the internet for the right mime definition for mp4 video, I guess something like 'mp4=video/...')
regards,
rk
webgyrl
Phoca Member
Phoca Member
Posts: 18
Joined: 01 Feb 2011, 00:52

Re: Error while downloading file (Mime Type not found)

Post by webgyrl »

OK so I put the following in to both Upload and Download
{mp4=video/mp4} {m4v=video/video/m4v}

The files work now!
Manos
Phoca Member
Phoca Member
Posts: 22
Joined: 30 Jan 2009, 16:27

Re: Error while downloading file (Mime Type not found)

Post by Manos »

After upgrading to Joomla 3.7 suddently Phoca doesn't work.

I have version 3.1.2 . Iam not willing to upgrade yet as I need either luck or resources, cos if my site crashes I will need to pay a developer.

Both in the Filename and in the external link I give ex. this :
[removed]

And it says " Error while downloading file (Mime Type not found)" to all of my files

All of my links are external links to other websites. What should I do and where do I type it? I didn't even understand the mp4 solution you mentioned above. Give me step-by-step instructions.

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while downloading file (Mime Type not found)

Post by Jan »

Hi, I don't see any Phoca Download on the site? Can you paste a link to Phoca Download site?
If you find Phoca extensions useful, please support the project
Manos
Phoca Member
Phoca Member
Posts: 22
Joined: 30 Jan 2009, 16:27

Re: Error while downloading file (Mime Type not found)

Post by Manos »

I've just sent it to you via PM.

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while downloading file (Mime Type not found)

Post by Jan »

Hi, which extension are your files? Are they listed in allowed mime types?

Jan
If you find Phoca extensions useful, please support the project
Manos
Phoca Member
Phoca Member
Posts: 22
Joined: 30 Jan 2009, 16:27

Re: Error while downloading file (Mime Type not found)

Post by Manos »

I upload my files using Phoca Download admin panel on the backend,

I Use both Filename and External link. And I put the same link in both. Look.

Image


Then try to download from here, 1st link. Natural4K mod. It doesn't work

http://www.gameworld.gr/gamecore/downlo ... uto-series

"Error while downloading file (Mime Type not found)"

I have no idea where is that "listed in allowed mime types". That's the link
https://www.gta5-mods.com/misc/naturalv ... istic-gtav
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error while downloading file (Mime Type not found)

Post by Benno »

Hi,
I have no idea where is that "listed in allowed mime types".
See: https://www.sitepoint.com/mime-types-complete-list/
You need to add:
{mod=audio/mod}
to: backend --> Components --> Phoca Download --> Control Panel --> Options --> Downloads -->
Allowed File Types (Download)
&
to: backend --> Components --> Phoca Download --> Control Panel --> Options --> Downloads -->
Allowed File Types (Upload)
Save & Close

Kind regards,
Benno
Manos
Phoca Member
Phoca Member
Posts: 22
Joined: 30 Jan 2009, 16:27

Re: Error while downloading file (Mime Type not found)

Post by Manos »

Error while downloading file (Mime Type not found)

Still the same issue. I did Global Check-in eveywhere, I cleared cache, cookies, nothing.
Post Reply