Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default How Do I Increase The File Upload Size?

    I added an file upload option on the product,. small files go threw pefectly,. But when i upload larger files i get this error Warning: File was too large to upload!. How would i change the file upload size that could be permited?

    i would guess edit upload.php but since i dont know much of php i dont know what to replace or edit..

    My next Question, also how may specified the files that are allowed to upload? for example i would only allowed jpg,gif,png,cdr,pdf,zip,and tiff

    so can anyone help me on this one?
    Last edited by printjuce; 26 Dec 2007 at 06:25 PM.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    How large was the file you are trying to upload?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: How Do I Increase The File Upload Size?

    It was 7mb..

    but i would like to upload up to 10 to 15mb..

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How Do I Increase The File Upload Size?

    Three things:
    - Admin->Configuration->Maximum Values->File upload size
    - PHP configuration: upload_max_filesize
    - PHP configuration: post_max_size

    For your PHP configuration, you will likely have to talk to your host to ensure that the values are large enough. You can check the current PHP configuration settings via Admin->Tools->Server Info
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5

    Default Re: How Do I Increase The File Upload Size?

    DrByte that totaly worked.!!..lol

    thanx alot..

    Your a genius..

  6. #6
    Join Date
    Dec 2007
    Location
    I wish I was out west!
    Posts
    22
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    Is the upload size listed in "Configuration/Maximum Values/Maximum File Upload Size" in bytes? Default being "2048000"

    I know, dumb question and the answer looks obvious. Just wanted to double check.
    Blue Skies!
    Ben

  7. #7
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    I am having difficult uploading a 4 meg file, even though I changed the admin settings as well as all these settings in both the php.ini and the .htaccess file...

    php_value upload_max_filesize "100M"
    php_value post_max_size "100M"
    php_value memory_limit "16M"
    php_value max_execution_time 1200


    anyone know what could be going on?

    http://www.godlikeprinting.com

  8. #8
    Join Date
    Dec 2007
    Location
    I wish I was out west!
    Posts
    22
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    I am having difficult uploading a 4 meg file, even though I changed the admin settings as well as all these settings in both the php.ini and the .htaccess file...

    php_value upload_max_filesize "100M"
    php_value post_max_size "100M"
    php_value memory_limit "16M"
    php_value max_execution_time 1200


    anyone know what could be going on?
    I can tell you that most hosting companies have a cron task (I think cron is right) set up to re-write the file you probably edited to allow for larger uploads. I want to say that typical upload allowments are between 2MB and 8MB which isn't a lot.

    Maybe post who you're hosting with and/or check for a php.ini file that can overwrite on a regular basis.

    Sorry if you already knew all this stuff. I'm a beginner and this is one of the roadblocks I hit.
    Blue Skies!
    Ben

  9. #9
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    Quote Originally Posted by benblee View Post
    I can tell you that most hosting companies have a cron task (I think cron is right) set up to re-write the file you probably edited to allow for larger uploads. I want to say that typical upload allowments are between 2MB and 8MB which isn't a lot.

    Maybe post who you're hosting with and/or check for a php.ini file that can overwrite on a regular basis.

    Sorry if you already knew all this stuff. I'm a beginner and this is one of the roadblocks I hit.
    I am on a deticated Pentium 4 server, with Superb Hosting, I rechecked the php.ini, everything is still the way I left it.

  10. #10
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: How Do I Increase The File Upload Size?

    switched all these settings in the php.ini

    * file_uploads
    * upload_max_filesize
    * max_input_time
    * memory_limit
    * max_execution_time
    * post_max_size

    as well as the admin settings to let me upload 90 meg files and I can't upload 4-5 meg ones, any know what is going on, seems strange to me in my experience.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 How do I increase the size of the top navigation bar
    By mespe in forum General Questions
    Replies: 4
    Last Post: 22 Mar 2015, 03:57 PM
  2. Can I set the minimum file upload size and dimensions?
    By needhelpwiththis in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Sep 2011, 05:34 AM
  3. Replies: 8
    Last Post: 22 May 2010, 04:47 PM
  4. Replies: 1
    Last Post: 7 May 2009, 08:55 PM
  5. How do I increase the size of the font?
    By boynix in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Feb 2007, 03:41 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