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.

POST data size error

May 16, 2013 1:43am

Subscribe [2]
  • #1 / May 16, 2013 1:43am

    AbyJaby

    4 posts

    Hi there,

    I have post data size in my php.ini which is 8M.

    If I have upload the file of size say 25mb, it gives me an error

    Warning: POST Content-Length of 100753587 bytes exceeds the limit of 52428800 bytes in Unknown on line 0

    and it empties the global variables like $_POST and $_FILES

    while it should be handled with my customized error during file upload process…..

    Please help ASAP

  • #2 / May 16, 2013 2:02am

    PravinS

    123 posts

    before checking your customized error handling, it will check php configuration when you run any php code

  • #3 / May 16, 2013 2:15am

    AbyJaby

    4 posts

    IS there any way to get it sorted, and in that case it will not be possible to handle filesize error at all!!!

  • #4 / May 16, 2013 2:20am

    PravinS

    123 posts

    Increase values in php.ini file of following parameters and restart apache server

    post_max_size = 
    upload_max_filesize =

     

  • #5 / May 16, 2013 2:31am

    AbyJaby

    4 posts

    That’s Fine, I have already done that!

    But the case is suppose I have allowed 25 mb of filesize can be uploaded by user and I have set the limit of 25mb in php.ini.

    Now if the user uploads greater size file, It will give the warning and this was the case I have uploaded an image for it…

    File uploading is not a problem rather error_handling is problem over here

  • #6 / May 26, 2013 5:58am

    asmoon

    1 posts

    دليل Evinile الالكترونى الشامل دليل الشركات والخدمات المصرية

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

ExpressionEngine News!

#eecms, #events, #releases