• Resolved topchefcooks

    (@topchefcooks)


    So I’m using wordpress for a year now and everything is good and all.

    Last night I tried adding some text to an old page that was already long (although its a text only post so I wouldn’t assume its too big) and I got this error :

    “Request Entity Too Large
    The requested resource
    /wp-admin/post.php
    does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. “

    I read a lot about the problem and many people suggested modifying the php.ini or php5.ini and adding those lines :

    “memory_limit = 120M
    upload_max_filesize = 10M
    post_max_size = 10M
    max_execution_time = 300

    I did that (even increased the sizes to 100M) and the files took effect but they didn’t solve my problem.

    I still get the same message when trying to update that post.

    I’m on godaddy if that is of relevant of any kind.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    This issue is possibly related to your server configuration. Try increasing the file upload size limit.
    If you don’t have access to these settings, contact your hosting provider about it.

    Thread Starter topchefcooks

    (@topchefcooks)

    thx Tara but as I said I did that but it didn’t help at all. I can upload larger files now so the modifications are working but I still can’t add more text to that page ?

    Moderator t-p

    (@t-p)

    Try couple of things:

    – You might check to see if any of your database tables need to be repaired

    -deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicible, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    – To rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).

    – Always backup everything (including your database) before doing any actions, just in case.

    Thread Starter topchefcooks

    (@topchefcooks)

    Thx Tara. So I did what you said but still no luck.

    I deleted all the plugins thats not being used, I then deactivated the all the others I then deactivated the theme then changed the theme folder name and plugins folder name as you’ve said but still no luck.

    I tried updating that page and got the same error again.

    I don’t know if its any help but I added a php stat file in case you wanted to check for anything wrong :

    https://topchefcooks.com/info.php

    Moderator t-p

    (@t-p)

    Have you tried switching to the default theme as I suggested above?

    Thread Starter topchefcooks

    (@topchefcooks)

    yup did that as well

    Moderator t-p

    (@t-p)

    Have you contacted your webhosting?

    fragmintz

    (@fragmintz)

    I got this error just now as well trying to upload a 2MB plugin.

    I fixed the 413 error by pausing my VPN connection (I had an active HotSpot Shield up at the time). Once I uploaded directly from my own network it went through with no problems.

    fragmintz – I love ya! I was going nuts trying to add new themes that were over about 2M in size and your posting about Hotspot Shield that I run quite often and when I turned it off, all was well. I’m not going to kiss you or hug you but I sure liked reading your posting above!

    I had been chasing this for 4-5 hours and finally found your post!

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘413 error (Request Entity Too Large) while posting’ is closed to new replies.