Welcome to Centmin Mod Community
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:
    5:57 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

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    2:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    5:57 PM
    1.91
    10.0.19
    Hello its

    client_max_body_size 10m;
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    2:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    2:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  6. Steve Tozer

    Steve Tozer Member

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

    eva2000 Administrator Staff Member

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    2:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    5:57 PM
    1.91
    10.0.19
    Remote protection I have, they seem to protect a lot :pompous:
     
    • Like Like x 1