MIL
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] 500 Internal Server ErrorСпасибо Вам за замечательный плагин!
Но сейчас у меня еще возникла его несовместимость с темой https://ultra.realhomes.io/
При активированном Loco Translate при размещении комментария под статьей возникает критическая ошибка и страница ломается, при деактивации плагина все восстанавливается.
Скрин страницы до размещения комментария https://skrinshoter.ru/sMBTeCoJEvB?a и после https://skrinshoter.ru/sMBfdWX21P6?a
Так как тему я уже перевел, еще раз спасибо), то это уже не столь критично для меня, но все же на всякий случай сообщаю, может быть что-то на моей стороне, а может действительно конфликт с темой.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 modeTo 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 linesFcgidConnectTimeout 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 shouldForum: Plugins
In reply to: [Loco Translate] 500 Internal Server ErrorProblem 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 modeTo 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 linesFcgidConnectTimeout 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
I tried again with plug-ins completely disabled- an error 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 () Moreover, even if you try to make a manual translation of one line without an addon and try to save it, it gives a 500 error Error: 500 Internal Server Error. See console output for debugging information
Thanks, I reset all browser settings to default with extensions disabled, switched to a different theme and tried to transfer the disabled one, but it didn't help. There are a few mentions of a similar error online, but they are beyond my knowledge unfortunately and I don't know how to use them: "I had the same problem when replying to a message in a callback. The solution is to return true in the background message listener. Here is a simple example of background.js. It responds to any message from popup.js. chrome.runtime.onMessage.addListener(function(rq, sender, sendResponse) { // set timeout to simulate any callback (even from storage.sync) setTimeout(function() { sendResponse({status: true}); }, 1); // return true; // comment out this line to fix the error }); Here is the popup.js that sends the message to the popup. You will get exceptions until you remove the "return true" line in the background.js file. document.addEventListener("DOMContentLoaded", () => { chrome.extension.sendMessage({action: "ping"}, function(resp) { console.log(JSON.stringify(resp)) }); }); manifest.json, just in case :) Pay attention to the alarm permissions section! { "name": "TestMessages", "version": "0.1.0", "manifest_version": 2, "browser_action": { "default_popup": "src/popup.html". }, }, "background": { { "scripts": [ "src/background.js",] "persistent": false }, { "permissions": [ "alarms". ] } Share Follow Aug 22, 2019 at 11:52 am in reply to Aug 22, 2019 Aleksej Vasinov user avatar Aleksej Vasinov 2,6822828 silver badges292929 bronze badges It worked for me! In what scenario would returning false by default be useful? - Eduardo Reis Apr 27, 2020 at 19:59 The documentation says: This function becomes invalid when the event listener returns unless you return true. What do you mean invalid? Shouldn't it be created every time it receives a message? - Eduardo Reis Apr 27, 2020 at 20:01 @EduardoReis, with FALSE it can be used as an informer to notify about some event. - Alexey Vasinov Apr 28, 2020 at 6:21 AM Aleksej, Could you please tell me how to include addListener code in a web project on struts 1. I am using JS, JSP, HTML, FRAMES, CSS as UI stack. just wondering where exactly it should be applied. tried adding the below snippet to the parent js file but it is not recognized. I usually don't have the listener code in the application. chrome.runtime.onMessage.addListener(function(rq, sender, sendResponse) { setTimeout(function() { sendResponse({status: true}); }, 1); alert("Inside the Background.js file"); return true; // Return true; // Return true to fix the error }); -. sasrra Dec 21, 2021 at 9:28 AM Sorry, I don't know JSP to help you. Did you find the listener in your JS code? - Aleksej Vasinov Dec 22, 2021 at 7:18" From here https://stackoverflow.com/questions/54126343/how-to-fix-unchecked-runtime-lasterror-the-message-port-closed-before-a-respon
There are errors:
Unchecked runtime.lastError: The message port closed before a response was received.
load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=6.3.1:5 JQMIGRATE: Migrate is installed, version 3.4.1
281Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
https://skrinshoter.ru/sM8jzLulyYJ?a
https://skrinshoter.ru/sM8WeIlUGOc?
https://skrinshoter.ru/sM8Bmq3HAi7?aRH – Real Estate Sale and Rental WordPress Theme – https://themeforest.net/item/real-homes-wordpress-real-estate-theme/5373914
I tried to translate both parent and child themes.
The automatic translation with Yandex translator is fast – https://skrinshoter.ru/sM8myCwYfcF?a.
But after clicking on the Merge translation button, a black screen of merge appears, which can hang indefinitely, and the merge itself does not happen https://skrinshoter.ru/sM8dBO0rFMI?a.Thanks, @shehabulislam, I’ll try to find another player plugin.
With respect
Forum: Plugins
In reply to: [True Lazy Analytics] Does not work properlyYandex writes that it may have problems when working via CDN and that it is necessary to prescribe the following formula ^https?:\/\/([^\/]+\.)?(url\.ru|webvisor\.com|metri[ck]a\.yandex\.(com|ru|by|com\.tr))\/ I really don’t understand how to do this.
Analytics appeared in the code after clearing the cache and Google seems to have seen it, but in 3 places there is such a strange entry in my opinion:
<script type=”text/javascript”>window[‘ga-disable-G-XXXXXXXXXX’] = true;</script>I sent the links to https://bplugins.com/support/
Thank you in advance for possible help
With respect
Good afternoon
The site is under development, under a plug
I attached the screenshots- first the first option is loaded and displayed for a few seconds, and then the second option is automatically loaded instead of it, which, to my taste, visually looks more modern, but it has no speed adjustmentMaria, thank you for your reaction.
I didn’t find how to attach the screen, but I seem to have solved my problem by first styling the original Contact 7 form from the outside and choosing the default theme instead of the Cutting Edge theme that I originally assigned, and now the bottom scrollbar has disappeared and the side scrollbar is no longer conspicuous on a light background.
I think my question is solved.Thank you for your wonderful plugin!
It was possible to solve the problem by deleting it and then installing it again.
Thank you for the plugin-it performs its functions very well.I can’t upgrade to the latest version with the same error
Thank you so much for your help, Matthias, everything worked )
Thank you for the plugin – very convenient.