Page 1 of 1
Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 9:37 pm
by jasonc310771
I have been using v2.0.3.1 for some time and now I find out that I cannot upload a certain file type even though looking at the admin settings it is allowed.
I have attached one of the files that is causing the issue.
Is this a known bug in Opencart ?
Re: Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 10:00 pm
by jrfcomputing
It will be because they are to large. Either upload with FTP or you need to change the settings
I did a quick search and found this
http://forum.opencart.com/viewtopic.php?t=13012
Hope it helps
Re: Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 10:24 pm
by jasonc310771
file size is no the issue here, I did check this first the file I attached is the same file I tried to upload, it is only 170 bytes, and my default settings state I can upload up to 300000 byte files...
Re: Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 10:40 pm
by jrfcomputing
Have you checked that it is not timing out during upload, If so you might need to change your php.ini file
Re: Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 10:52 pm
by jasonc310771
No time out issue, and have just checked the file using notepad++ and see that first part of the file does not have tif. The original file I uploaded here it seems was created using photoshop and has photoshop content in the first part of the file. This is likely the cause.
Re: Today I find that I can not upload TIF images.
Posted: Wed Nov 04, 2015 11:14 pm
by labeshops
When you say it is allowed in admin, is it allowed EXACTLY the way you are using the extension? It is case sensitive so if you have allowed .tif extensions but the file you are trying to upload is .TIF it will not work.
Re: Today I find that I can not upload TIF images.
Posted: Thu Nov 05, 2015 12:48 am
by jasonc310771
labeshops wrote:When you say it is allowed in admin, is it allowed EXACTLY the way you are using the extension? It is case sensitive so if you have allowed .tif extensions but the file you are trying to upload is .TIF it will not work.
Good point, not sure if OC lowers the Ext or not, but I checked the settings in admin and it is tif and the file itself is also tif, both lowercase.