Drupa security
Found 2 security vulnerability advisories affecting 2 packages:
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;Problem:
Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 115
Solution
Give DB User File permission:
mysqldump --user=MyDBUser --password --tab=/tmp/my_export_dir MyDBName
Install sysbench:
apt-get install sysbench
CPU benchmarking (single-threaded / all cores):
sysbench cpu run
sysbench --threads="$(nproc)" cpu run
Fatal error: Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.2.0".
Neueste Kommentare
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert: