Error '500 Internal Server' on Theme Options

This topic has 9 replies, 2 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow

  • Avatar: Alejandro
    Alejandro
    Participant
    October 6, 2020 at 15:04

    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.

    8 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 6, 2020 at 17:31

    Hello,

    Contact your hosting provider and ask to increase the SubstituteMaxLineLength to 10M or 20M.

    Regards

    Avatar: Alejandro
    Alejandro
    Participant
    October 6, 2020 at 18:17

    Hello Olga,

    Please contact administrator
    for this information.
    Avatar: Alejandro
    Alejandro
    Participant
    October 7, 2020 at 09:20

    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.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 7, 2020 at 11:28

    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

    Avatar: Alejandro
    Alejandro
    Participant
    October 7, 2020 at 15:31

    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.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 7, 2020 at 20:05

    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

    Avatar: Alejandro
    Alejandro
    Participant
    October 7, 2020 at 21:03

    I am using Apache, you can see it here: https://prnt.sc/uuzpcp

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 8, 2020 at 14:52

    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

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.