ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

upload_file_exceeds_limit

March 03, 2011 12:58pm

Subscribe [3]
  • #1 / Mar 03, 2011 12:58pm

    MarcosUrban15

    10 posts

    Hello

    I created a directory that I will be using to upload MP3s.  I made the maximum file size at 10240 (10MB).  I tried uploading a 3MB MP3 via file manager and I get “upload_file_exceeds_limit”. 

    Any solutions?

    Thank you in advance,
    Marcos

  • #2 / Mar 03, 2011 2:34pm

    Rick Jolly

    729 posts

    You probably need to increase the max upload file size in your php configuration. You can do that with the ini_set() function or directly in your .htaccess file if your host allows that.

    Try adding this to your .htaccess file:

    php_value upload_max_filesize 10M
    php_value max_execution_time 120
    php_value post_max_size 10M
  • #3 / Mar 03, 2011 3:59pm

    Ingmar

    29245 posts

    Thanks for the assist, Rick. Does that help, Marcos?

  • #4 / Mar 03, 2011 4:27pm

    MarcosUrban15

    10 posts

    Can’t find the .htaccess file, what folder is it in?

  • #5 / Mar 03, 2011 10:11pm

    Rick Jolly

    729 posts

    If you don’t have an .htaccess file already in your document root, then create one and add the lines above.

  • #6 / Mar 04, 2011 9:46am

    Ingmar

    29245 posts

    What Rick says 😊 Since this doesn’t seem to be an EE issue as such I am going to move this to the CSC. Thanks 😊

  • #7 / Mar 04, 2011 9:47am

    Sue Crocker

    26054 posts

    Thanks for the assist, Rick.

    Marcos - you might want to query in Google for an example on making an .htaccess file.

    http://www.makeuseof.com/tag/how-to-easily-create-and-edit-htaccess-file-for-your-site/

  • #8 / Mar 04, 2011 1:24pm

    MarcosUrban15

    10 posts

    OK, I have to some research.  Thanks for your quick replies and advice.

    Marcos

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases