Problem:
AH01071: Got error 'PHP message: Uncaught PHP Exception GuzzleHttp\\Exception\\ConnectException: "cURL error 28: Failed to connect to myserver.example.com port 8090: Connection timed out
Solution?
Problem:
AH01071: Got error 'PHP message: Uncaught PHP Exception GuzzleHttp\\Exception\\ConnectException: "cURL error 28: Failed to connect to myserver.example.com port 8090: Connection timed out
Solution?
Problem (Drupal Status Report) "/admin/reports/status":
Transaction isolation level
REPEATABLE-READ
The recommended level for Drupal is "READ COMMITTED".
See the setting MySQL transaction isolation level page for more information.
Solution (in sites/default/settings.php):
Plesk auto renew (SSL It, Let's Encrypt) not working.
Solution?
Problem with Drupal (after "drush cr"):
Drupa security
Found 2 security vulnerability advisories affecting 2 packages:
Solution 1 (low level security: at least one of roles required):
Convert "Western European" encoding to UTF-8 (from ISO-8859-1 / Windows-1252):
$my_detect_encoding = mb_detect_encoding($content, mb_detect_order(), false);
if( $my_detect_encoding != 'UTF-8'){
$content= iconv('ISO-8859-1', 'UTF-8//TRANSLIT//IGNORE', $content);
}
Problem:
Timezone of Server/PHP/Drupal : Europe/Germany
Datetime value converted automatically to UTC + 120 Minutes (Europe/Germany).
Solution:
Convert Datetime to UTC before saving node.
PHP Code (modules/custom/my_module/src/Controller/MyController1.php):
CSS:
word-break: break-word;
overflow-wrap: break-word;
hyphenate-limit-chars: 15 5 5;
Neueste Kommentare
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords