Want more timely Centmin Mod News Updates?
Become a Member

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:
    8:23 AM
    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

    45,175
    10,275
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,924
    Local Time:
    5:23 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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:
    8:23 AM
    1.91
    10.0.19
    Hello its

    client_max_body_size 10m;
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,175
    10,275
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,924
    Local Time:
    5:23 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    45,175
    10,275
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,924
    Local Time:
    5:23 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  6. Steve Tozer

    Steve Tozer Member

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

    eva2000 Administrator Staff Member

    45,175
    10,275
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,924
    Local Time:
    5:23 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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:
    8:23 AM
    1.91
    10.0.19
    Remote protection I have, they seem to protect a lot :pompous: