Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    106
    Plugin Contributions
    0

    Default Maximum file size for uploads

    In Admin > Configuration > Maximum Values


    It shows:

    What is the Maximum file size for uploads?
    Default= 2048000

    What is 204800 transalted into in Megabytes?

    Would there be problems if I raised this?

  2. #2
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Maximum file size for uploads

    This is 2mb, and raising this in the admin panel probably wouldn't help unless your host supports higher by default or you have changed the settings of your host with a config file such as php.ini

    EDIT: There should be no adverse effects with experimentation.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Maximum file size for uploads

    akizzle,
    Quote Originally Posted by akizzle
    Try editing Admin > Configuration > Maximum Values, I think 2mb is a Zen Cart default rather than based on what it reads from your host's settings.
    Quote Originally Posted by akizzle
    This is 2mb, and raising this in the admin panel probably wouldn't help unless your host supports higher by default or you have changed the settings of your host with a config file such as php.ini
    Rather abit of contradiction in your own posts
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Maximum file size for uploads

    Or learning lol. 2mb is a typical setting for a cheep host, but it's a bit of a coincidence that two sites have the same setting even so.

    Normally php software reads streight from phpinfo and as such it would make sense that the 2mb is determined from the server, but It seems Zen Cart doesn't.

    I'd also like to point out that it's not technically a contradiction; "probably" and "I think" appear in both posts.

    Cya around.

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Maximum file size for uploads

    benjames

    Whenever you see a number and no reference after it (i.e. KB or MB) then it is in bytes. So divide the number by 1024 to get KB and divide again by 1024 to get MB. So 2048000 = 1.95 MB.

    As mentioned, experimenting with the setting in ZC should pose no problem.


    akizzle

    If you had some experience as a Server Admin you would understand better about the PHP file upload size determined by each Hoster. With so many people now using Forums and Blogs and allowing uploads, a negative impact on Server response can be very real indeed. Imagine how long it would take, for a Forum page to load, if people were allowed to use whatever size files they wanted.

    Take many people using 10 - 50 MB avi files in their sig. file or even as a Avatar, plus 10 other people with their multi-megabyte Image files plus the person viewing has their personal settings to show 50 or 100 posts in a Forum thread. You could bake a cake in the time it would take for that page to load, let alone the negative impact other sites on that Server would also experience.

  6. #6
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: Maximum file size for uploads

    [QUOTE=Website Rob;280431]Whenever you see a number and no reference after it (i.e. KB or MB) then it is in bytes. So divide the number by 1024 to get KB and divide again by 1024 to get MB. So 2048000 = 1.95 MB.
    QUOTE]

    aint it funny how the cs guys used scientific/engineering notation to quantify the terms of their trade?

    i think this base2 <> base10 parody will reveal itself as even sillier when quantum computers become mainstream, if they become reality (what happens when your number base becomes some large number, the number of quantum states that can be simultaneously visited).

    i mean its 1 thing if you wanna do horsepower <> watts or feet <> meters... at least the notation is consistent with respect to the number base.

    but the cs guys are just silly to say 1024 B is a kB.

    just another wild tangent.

 

 

Similar Threads

  1. v154 Maximum file size
    By jenpen in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 29 May 2015, 05:41 AM
  2. Define Pages Editior - Maximum File Size?
    By limelites in forum General Questions
    Replies: 13
    Last Post: 29 Jun 2011, 04:36 PM
  3. Replies: 8
    Last Post: 22 May 2010, 04:47 PM
  4. Restrict Maximum Image upload file size ?
    By greentrees in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 May 2009, 03:37 AM
  5. file type options for file uploads?????
    By GoldBuckle in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Mar 2008, 10:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg