This topic has 9 replies, 2 voices, and was last updated 4 years, 1 months ago ago by Olga Barlow
When I try to edit the theme in Theme Options the page shows ‘Error 500 internal server’, I have looked at the logs and it returns the following errors:
– [Tue Oct 06 13: 29: 12.735159 2020] [: error] [pid 5072: tid 139859729557248] [client 5.225.5.132:36020] [client 5.225.5.132] ModSecurity: Output filter: Response body too large (over limit of 1048576, total not specified). [hostname “www.myweb.com”] [uri “/index.php”] [unique_id “X3xxJvmdkx0hKJBLQF4-SAAAAMU”], referer: https://www.myweb.com/wp-admin/customize.php
– [Tue Oct 06 13: 29: 12.735593 2020] [proxy_fcgi: error] [pid 5072: tid 139859729557248] [client 5.225.5.132:36020] AH01068: Got bogus version 104, referer: https://www.myweb.com /wp-admin/customize.php
– [Tue Oct 06 13: 29: 12.735608 2020] [proxy_fcgi: error] [pid 5072: tid 139859729557248] (22) Invalid argument: [client 5.225.5.132:36020] AH01075: Error dispatching request to:, referer: https: / /www.myweb.com/wp-admin/customize.php
I have extended the server memory limit to 512M but it still crashes.
Hello,
Contact your hosting provider and ask to increase the SubstituteMaxLineLength to 10M or 20M.
Regards
Hello Olga,
Hello,
I try to put this code in .htaccess To increase the SubstituteMaxLineLength to 10M or 20M:
<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>
But it doesn´t work… Are you sure that is the problem? or maybe there is another way to do it.
Hello,
I don’t see the mentioned code in the .htaccess file http://prntscr.com/uuo04j Maybe your server overwrites it. Provide us also with the WP Dashboard access to check the result once we add the code to change the limit.
Regards
Sure, you don’t see the code because I removed it, when this code is in .htaccess the entire web returns error 500. I put it back so you can see the result.
Hello,
You are using NGINX, so that limit can’t be changed using .htaccess file. Contact your hosting provider to increase the limit of the client_max_body_size 20M if you use NGINX.
Regards
I am using Apache, you can see it here: https://prnt.sc/uuzpcp
Hello,
I don’t see our theme on the URL you provided anymore and it shows NGINX http://prntscr.com/uviazf
Besides, what version of Apache do you have?
Regards
You must be logged in to reply to this topic.Log in/Sign up