Post by sigue » Thu Feb 07, 2013 10:07 am

I have just upgraded my store from 1.5.4.1 to 1.5.5.1, and now I have a problem when I try to upload zip files in admin, it always error Invalid file type!
it is no problem when uploading another extensions files such as jpg, png, pdf, doc, etc, so the problem is only with zip extension, even it already added in "Allowed File Extensions" and "Allowed File Mime Types" settings.
I'm not sure it is a bugs or there is something that I missed, because when I try upload file in my another opencart site (version 1.5.4.1) and its in the same server, everythings is working fine.
then just to make sure, I also try fresh install 1.5.5.1 on my local computer and the upload problem still happen.
and today I also just got an email from my client that he have the same problem too.
anyone who know how to solve it, please help.

Attachments

invalid.jpg

invalid.jpg (36.96 KiB) Viewed 10233 times


THEMESOPENCART.COM


New member

Posts

Joined
Sat Aug 14, 2010 12:41 pm

Post by Daniel » Thu Feb 07, 2013 1:09 pm

you need to add the allowed mimie type to the admin > settings

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by beattie » Fri Feb 08, 2013 10:17 am

I upgraded my site to 1.5.5.1 and am having the same problem with zip files. I have included the mime type but still no success. Here are my settings in Admin:

Allowed file extensions:
.zip
.ZIP
Allowed File Mime Types:
application/zip

New member

Posts

Joined
Tue May 22, 2012 11:33 am
Location - Australia

Post by sigue » Sat Feb 09, 2013 8:34 pm

try add all this mime type for zip file, it is work for me, so it should work for you too :

application/zip
application/x-zip
application/octet-stream
application/zip-compressed
application/x-zip-compressed
application/x-compress

THEMESOPENCART.COM


New member

Posts

Joined
Sat Aug 14, 2010 12:41 pm

Post by Mangostine » Wed Sep 11, 2013 7:45 pm

Hello,

I install opencart 1.5.5.1 and i have this problem for pdf file. For zip file it woks well but for file pdf no :(
So i added :

Allowed file extensions:
pdf
Allowed File Mime Types:
application/pdf

Maybe someone knows why ???

Newbie

Posts

Joined
Wed Sep 11, 2013 1:50 am

Post by fredfinger » Mon Sep 16, 2013 4:24 am

Hi,

Same issue for me. Unable to upload pdf and zip, even after changes in settings as mentionned above.

And no reaction on the forum about this. Bug or something we did wrong ?

If you found the solution please let me know.

Thanks

Fred

Newbie

Posts

Joined
Wed Sep 11, 2013 2:31 am

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by jdunnett » Sat Jan 11, 2014 9:20 pm

I found that adding all these extension types makes zip files work

application/zip
application/x-zip
application/octet-stream
application/zip-compressed
application/x-zip-compressed
application/x-compress

Newbie

Posts

Joined
Sat Jan 11, 2014 9:19 pm

Post by sudhirzs » Tue Aug 19, 2014 3:40 am

I have tried every thing that is posted here.

Yet, I am not able to upload a zip file using admin>catalog>download .

I can not do it from any browser.

We can upload using one of my colleagues PC, which means the opencart installation has no problem.

What could be the reason for my browser to tell me Invalid file type for only .zip files. It works with pdf and others.

Need help on this.

Regards

Sudhir

Newbie

Posts

Joined
Tue Aug 19, 2014 3:36 am

Post by tomcelroy » Mon Jan 11, 2016 8:41 pm

At the admin settings there is option to set any mime type allowed along with the various acceptable file extension formats.

works at http://www.digitekprinting.com/


Newbie

Posts

Joined
Mon Jan 11, 2016 8:35 pm
Who is online

Users browsing this forum: Amazon [Bot] and 3 guests