Discover Centmin Mod today
Register Now

Wordpress Wordpress File Upload issue

Discussion in 'Blogs & CMS usage' started by Steve Tozer, Feb 3, 2015.

  1. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    4:54 PM
    1.91
    10.0.19
    Wonder if anyone has any ideas to a Wordpress issue I have.


    When uploading a file > 1Mb in Wordpress getting an HTTP Error. Anything under 1Mb uploads without and issue.

    In php.ini I have

    Code:
    post_max_size => 20M
    upload_max_filesize => 20M
    Don't seem to be able to see any issues in the error.log which is odd.

    Cheers :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    in /usr/local/nginx/conf/nginx.conf what's your client_max_body_size set at ?1M or 10M ?
     
  3. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    4:54 PM
    1.91
    10.0.19
    Hello its

    client_max_body_size 10m;
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strange then that should be the key varaible controlling Nginx's max allowed upload size for Wordpress.

    other thing to check is wp-config.php if you have an specifically added max upload sizes set to 1MB that maybe some WP plugins may have added
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    4:54 PM
    1.91
    10.0.19
    After all that its was my DDoS protection causing it :D
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    haha what DDOS protection you using that would cause such limits ?
     
  8. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    4:54 PM
    1.91
    10.0.19
    Remote protection I have, they seem to protect a lot :pompous: