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
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:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf
Error: configure: error: no acceptable C compiler found in $PATH
Error: