Page 1 of 1

from 1.5.4.1 to 1.5.5.1

Posted: Thu Feb 07, 2013 10:07 am
by sigue
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.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Feb 07, 2013 1:09 pm
by Daniel
you need to add the allowed mimie type to the admin > settings

Re: from 1.5.4.1 to 1.5.5.1

Posted: Fri Feb 08, 2013 10:17 am
by beattie
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

Re: from 1.5.4.1 to 1.5.5.1

Posted: Sat Feb 09, 2013 8:34 pm
by sigue
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

Re: from 1.5.4.1 to 1.5.5.1

Posted: Wed Sep 11, 2013 7:45 pm
by Mangostine
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 ???

Re: from 1.5.4.1 to 1.5.5.1

Posted: Mon Sep 16, 2013 4:24 am
by fredfinger
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

Re: from 1.5.4.1 to 1.5.5.1

Posted: Fri Oct 18, 2013 11:12 am
by butte

Re: from 1.5.4.1 to 1.5.5.1

Posted: Sat Jan 11, 2014 9:20 pm
by jdunnett
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

Re: from 1.5.4.1 to 1.5.5.1

Posted: Tue Aug 19, 2014 3:40 am
by sudhirzs
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

Re: from 1.5.4.1 to 1.5.5.1

Posted: Mon Jan 11, 2016 8:41 pm
by tomcelroy
At the admin settings there is option to set any mime type allowed along with the various acceptable file extension formats.