I have discovered from 2 different independent uptime monitors that my website was frequently going offline for a timeframe of about 10 minutes around midnight. Now the last few days I had more frequent and more prolonged outages of the website availability. Looking at my netdata statistics, I...
I was messing around with the log file settings of my virtual host template, and after restarting the server crashed. Not acessible from the frontend and the admin. CPU usage is low.
Seems the server restarts every minute.
Here some hints in the error log:
2024-02-14 20:18:18.401117 [INFO]...
Found another hint in the error log:
[STDERR] PHP Warning: Undefined property: stdClass::$plugin in /var/www/vhosts/staging/html/wp-includes/class-wp-list-util.php on line 168
When I try to install a plugin from the repository, I get the error: Installation failed: Download failed. Unauthorized
When I look though at the installed plugins, it is there and working perfectly.
The same with updates.
When I try to update a plugin, I get the error: Update failed: Download...
ChatGPT suggested to use:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(?:.+\.)*([^.]+\.[^.]+)$
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
So give it a try.
The signup.php indicates that WordPress Multisite does not recognize the DNS name. So unless you have something wrong in the htaccess that will mess up your domain name, you need to look at WordPress and double check the configuration there. I never tried third level domains, but I am serving...
The third level domains are hosted in the same multisite network? And the Cyberpanel interface is quite different from the OLS interface. But if you speak about different multisite networks, you need to define access rules to route to the right instance. If the multisite instance is the same and...
I am struggling to get piped logging to work in OpenLiteSpeed, and I am struggling to find adequate documentation about it. What I find in the documentation is that I need to configure an external Piped Logger app. It seems that in the Address for remote logger I can put a HTTP or UDS socket. It...
I found the following script on the Matomo website that will defer loading:
var _paq = window._paq = window._paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
function embedTrackingCode() {
var u="https://your.piwik.domain/";
_paq.push(["setTrackerUrl"...
Well, I have seen already that it does more then just delaying the script. What is this thing that checks for a User ID in local storage?
if (localStorage.getItem("hasTag") !== null) {
// If there's a value, retrieve it and set it as the user ID for Matomo tracking.
const userId =...
I know Javascript but I do not understand what you are talking about. How can a Javascript defer Javascript rendering? If you speak about loading matomo.js it might, but in both example this script is instantiated by Javascript. So please explain what all this additional code is doing and what...
So this is the improved version?
<script>var _paq = window._paq = window._paq || [];
_paq.push(["setRequestMethod","POST"]);
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
_paq.push(["enableHeartBeatTimer", 5]);
var ab = "//www.cachecrawler.com/pwk/"...
Yes if you use a tracking script, I think your modified script is pretty good. But any script will have some issues. Besides the blocking issue you have greatly improved here, you need to take extra precautions to make the tracking script GDPR compliant. And I want to avoid the use of cookie...
Thanks for the input. That trick for modifying the script is really interesting, and I will use it on some sites. The PHP tracker I guess will not work when caching is enabled, so that is a real limitation. I still would like to check a way to ingest the log files.