XF 2.3 Upgrade Error: Requested Resource Does Not Allow Request Data With POST Requests

jgaulard

Active member
Hi,

I am attempting to update from 2.2.16 to 2.3.2 from the control panel. I am receiving this error directly after pressing the upgrade button:

The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Any idea what this means and how I go about fixing it?

Thanks.

Jay
 
Hi there - I attempted to upgrade once again from the control panel with this latest version and I am receiving the same message:

----------------------------------

Request Entity Too Large​

The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

----------------------------------

I have turned Cloudflare to "Development Mode" and have disabled the three minor addons I have installed. I am not sure what to do to correct this. I am unable to upgrade any of my sites. Any advice?

Thank you.
 
Hi there - I attempted to upgrade from version 2.2.16 once again from the control panel with this latest version (2.3.3) and I am receiving the same message on an otherwise blank page:

----------------------------------

Request Entity Too Large​

The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

----------------------------------

I have turned Cloudflare to "Development Mode" and have disabled the three minor addons I have installed. I am not sure what to do to correct this. I am unable to upgrade any of my sites. Any advice?

Thank you.
 
Check your PHP/NGINX settings for the following...

Memory Limit: 128M
Post Max Size: 110M
Upload Max Filesize: 100M

Also, if using NGINX, make sure Maximum allowed HTTP request body size is set to 128MB or higher or use client_max_body_size 128M; in nginx.conf or NGINX directives (Plesk)

Also, Cloudflare's maximum filesize is hard-set to 100MB.
 
Check your PHP/NGINX settings for the following...

Memory Limit: 128M
Post Max Size: 110M
Upload Max Filesize: 100M

Also, if using NGINX, make sure Maximum allowed HTTP request body size is set to 128MB or higher or use client_max_body_size 128M; in nginx.conf or NGINX directives (Plesk)

Also, Cloudflare's maximum filesize is hard-set to 100MB.
Thanks very much. I'll have my host look into changing these settings. I'm running a VPS, so they'll need to do it globally.
 
Check your PHP/NGINX settings for the following...

Memory Limit: 128M
Post Max Size: 110M
Upload Max Filesize: 100M

Also, if using NGINX, make sure Maximum allowed HTTP request body size is set to 128MB or higher or use client_max_body_size 128M; in nginx.conf or NGINX directives (Plesk)

Also, Cloudflare's maximum filesize is hard-set to 100MB.
Hi,

I changed the php variables and I am encountering the same issue. Here are my server variables:

server.gif

Any more advice?

Thank you.
 
Thank you for this. I took a look at the error logs and I found this:

[Fri Sep 06 16:34:29.503332 2024] [:error] [pid 3804716:tid 3804748] [client 172.70.569.5:53016] [client 292.70.187.5] ModSecurity: Request body no files data length is larger than the configured limit (131072).. Deny with code (413) [hostname "www.website.us"] [uri "/forum/install/oc-upgrader.php"] [unique_id "ZttnVcijvCioKHeT2ukECwAAAIQ"], referer: https://www.website.us/forum/install/oc-upgrader.php

Now I just need to figure out how to adjust the ModSecurity settings.
 
It appears that changing the values for ModSecurity worked. I've now updated one of my websites. The only issue I've found so far is that my logo has shrunken. Thank you for all of your help.

Jay
 
Back
Top Bottom