• Resolved borjones

    (@borjones)


    Everytime I try to upload a theme it would give me this error:

    413 Request Entity Too Large // nginx/1.6.2

    thoughts?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    How large is the theme, and what is your upload limit (you can see this most easily at Media -> Add New in your blog’s Dashboard)?

    shamratdewan

    (@shamratdewan)

    theme? you should use ftp for theme. no matter what is your upload limit it would possibly break

    Moderator James Huff

    (@macmanx)

    shamratdewan, are you suggesting that WordPress’s theme uploader always breaks themes? Because, if so, there must be something very wrong with your server setup.

    Thread Starter borjones

    (@borjones)

    the file is 7.2 MB

    and my limit is 10 MB

    :/

    Moderator James Huff

    (@macmanx)

    Hm, ok then, that should work. You might be hitting a maximum execution limit though.

    Is your server managed by your hosting provider, or do you manage your own VPS or dedicated server?

    shamratdewan

    (@shamratdewan)

    no I appreciate wp has theme upload feature but FTP is better option rather then measuring upload limit, execution limit. there are themes even more then 10MB isn’t it?

    Moderator James Huff

    (@macmanx)

    There definitely are, but most hosts make it trivial to raise those limits. For example, I have mine set to 100MB.

    The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 100MB)

    shamratdewan

    (@shamratdewan)

    thanks for the information. I use VPS and file transfer most of the time I VPN as even FTP takes 2-3 hours for weekly backup using BT.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘413 Error’ is closed to new replies.