Page 1 of 1
v 1.5.5.1 File upload option
Posted: Sat Feb 16, 2013 5:18 pm
by eddy-r3
Hi guys, i have added a file upload option to a product in opencart 1.5.5.1 but everytime i add a file for upload, it says "Invalid FIle Type" i cant find anywhere in the admin area to name mime types.
Any suggestions?
Many thanks
Re: v 1.5.5.1 File upload option
Posted: Sat Feb 16, 2013 7:11 pm
by victorj
it is located under systemm settings your shop options.
under products there us a box where you can define uoload file extensions
Re: v 1.5.5.1 File upload option
Posted: Sat Feb 16, 2013 9:54 pm
by eddy-r3
Hi Victor, thanks for that i have added the needed file types, but still get "Invalid file type!" whether i use a JPG or a PNG lol any suggestions?
Many thanks
Re: v 1.5.5.1 File upload option
Posted: Sat Feb 16, 2013 10:13 pm
by victorj
just testing myself and get same error will see what is causing it.
Think a found it.
file extensiosn in admin looks like this:
.jpg,.gif,.xls, etc
if you look close to original installed extensions you will see that some , are set as .
i deleted all . amd made sute extensions are delimited wih,
so it looks like jpg,gif,xls, and now upload is accepted
Re: v 1.5.5.1 File upload option
Posted: Sun Feb 17, 2013 5:17 am
by eddy-r3
Hi Vicor, just had a go with this and found that it still doesnt work.
I have set the file types as :
"jpg,gif,png,tiff,bmp"
And left the MIME Types blank.
If you look at this page :
http://embroiderit.co.uk/index.php?rout ... arch=ba650 and try to upload, you will see
Many thanks!
Re: v 1.5.5.1 File upload option
Posted: Sun Feb 17, 2013 6:00 am
by victorj
did test it on 1.5.4.1 and managed to get it working will install 1.5.5.1 and do a test there as well to see if it works there.
Just installed a version of 1.5.5.1 same as you are using.
if you upgraded then the problem is probaly in the upgrade since file extensions are set different in 1.5.5.1.
sent you a pm with login to backend so you can check
Re: v 1.5.5.1 File upload option
Posted: Sun Feb 17, 2013 6:58 am
by eddy-r3
Thanks Victor, all sorted!

Re: v 1.5.5.1 File upload option
Posted: Sun Feb 17, 2013 7:07 am
by victorj
for every one havinf the same problem after upgrade to 1.5.5.1
old style of input file extensions .ext,.ext,.ext does not work any more.
file extensions are now imputted like
gif
jpg
xls
tif
Re: v 1.5.5.1 File upload option
Posted: Fri Apr 26, 2013 3:22 am
by victorj
file extensions are case sensetive.
so make sure you specify capitals as well
JPG
PDF
etc
Re: v 1.5.5.1 File upload option
Posted: Fri Apr 26, 2013 5:55 am
by victorj
make sure your folder download permissions are set to 775 or 777
Re: v 1.5.5.1 File upload option
Posted: Sun Jun 02, 2013 5:52 am
by Tazzvon
In case anyone is still looking for a solution to this issue i have stumbled accross this. You need to not only add the file extension to the upload option but you must also add it in the system > settings > your store > server. If you are trying to upload files with capitalized extensions you must add the capitalized version of it in the allowed file extensions box. Hope this helps someone.
Re: v 1.5.5.1 File upload option
Posted: Thu Sep 12, 2013 6:16 am
by Mangostine
Hello,
I have a problem for download a file pdf. In system > server i added :
zip
pdf
rar
And in Mime :
application/zip
application/pdf
application/x-rar-compressed
So when i want to add a file pdf in catalog > downloads, it's not work. But for zip it works good.
Somebody do you know why ?
I use opencart 1.5.5.1.
Thanks
Re: v 1.5.5.1 File upload option
Posted: Fri Oct 18, 2013 11:14 am
by butte