• Resolved MIL

    (@mil33)


    I tried to translate one line of the topic https://themeforest.net/item/real-homes-wordpress-real-estate-theme/5373914 with crome browser plugins completely disabled

    • a message appears in the plugin: Error: 500 Internal Server Error. See console output for debugging information.
      The following error appears in the browser console:
      JQMIGRATE: Migrate is installed, version 3.4.1
      /wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 ()
      admin.js?ver=2.6.6:291 Ajax failure for save Object

    admin.js?ver=2.6.6:291 Pass the following text when sending a problem message:

    Status 500 “Unknown error” (text/html; charset=iso-8859-1 528 bytes)
    500 Internal Server Error
    Internal
    Are there any recommendations for finding this error?
    Thank you in advance for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter MIL

    (@mil33)

    Problem solved:

    When uploading files or large (relatively) amounts of data to the server, you may encounter error 500.
    At the same time, in the logs of the site and the web server, you will see something like:

    mod_fcgid: HTTP request length 137536 (so far) exceeds MaxRequestLen (131072), referer
    This is typical in cases when PHP is running on the server in FastCGI mode

    To fix the error, open the configuration file of the module, which is located on the path:

    /etc/apache2/mods-available/fcgid.conf for Debian, Ubuntu and OS based on them
    /etc/httpd/conf.d/fcgid.conf for RHEL-like — CentOS, Fedora.
    In it we find and make edits to the lines

    FcgidConnectTimeout 60
    (can be enlarged)

    FcgidMaxRequestLen 33554432
    MaxRequestLen 33554432
    (these lines probably won’t be there at all, but they need to be corrected or added. By specifying this number, we will increase the size to 32 megabytes. )
    After that, do not forget to restart the web server.

    After that, everything began to work as it should

    Plugin Author Tim W

    (@timwhitlock)

    Thanks for solving your own issue.

    I note that a properly configured server should respond with status 431 when the posted content is too large. A 500 is a common catch-all and doesn’t help the initial narrowing down of a problem.

    Thread Starter MIL

    (@mil33)

    Спасибо Вам за замечательный плагин!

    Но сейчас у меня еще возникла его несовместимость с темой https://ultra.realhomes.io/
    При активированном Loco Translate при размещении комментария под статьей возникает критическая ошибка и страница ломается, при деактивации плагина все восстанавливается.
    Скрин страницы до размещения комментария https://skrinshoter.ru/sMBTeCoJEvB?a и после https://skrinshoter.ru/sMBfdWX21P6?a
    Так как тему я уже перевел, еще раз спасибо), то это уже не столь критично для меня, но все же на всякий случай сообщаю, может быть что-то на моей стороне, а может действительно конфликт с темой.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘500 Internal Server Error’ is closed to new replies.