Post by jasonc310771 » Wed Nov 04, 2015 9:37 pm

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 ?

Attachments

Arctic Weekend Black-Purple.tif

Arctic Weekend Black-Purple.tif (186.2 KiB) Viewed 770 times


Active Member

Posts

Joined
Fri Mar 01, 2013 6:46 pm

Post by jrfcomputing » Wed Nov 04, 2015 10:00 pm

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

Opencart sites I am currently working on:
http://www.cablecafe.co.uk
http://www.exclusivelygorgeous.co.uk/


User avatar
Active Member

Posts

Joined
Mon May 09, 2011 11:29 pm

Post by jasonc310771 » Wed Nov 04, 2015 10:24 pm

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...

Active Member

Posts

Joined
Fri Mar 01, 2013 6:46 pm

Post by jrfcomputing » Wed Nov 04, 2015 10:40 pm

Have you checked that it is not timing out during upload, If so you might need to change your php.ini file

Opencart sites I am currently working on:
http://www.cablecafe.co.uk
http://www.exclusivelygorgeous.co.uk/


User avatar
Active Member

Posts

Joined
Mon May 09, 2011 11:29 pm

Post by jasonc310771 » Wed Nov 04, 2015 10:52 pm

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.

Active Member

Posts

Joined
Fri Mar 01, 2013 6:46 pm

Post by labeshops » Wed Nov 04, 2015 11:14 pm

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.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by jasonc310771 » Thu Nov 05, 2015 12:48 am

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.

Active Member

Posts

Joined
Fri Mar 01, 2013 6:46 pm
Who is online

Users browsing this forum: No registered users and 4 guests