Code:
$current_user = \Drupal::currentUser();
$roles = $current_user->getRoles();
// print_r( $roles );
drush st [OR]
drush uri
Site URI : http://default
How to update "Site URI"?
Problem
docker-compose.yml: `version` is obsolete
Solution?
CSS Code:
@media print {
.pagebreak { page-break-before: always; } /* page-break-after works, as well */
}
Code:
$('input[type=text]').val('');
$('input:checkbox').removeAttr('checked');
$('input[type="radio"]').prop('checked', false);
Problem:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "audit" is not defined.
Problem:
Symfony\Component\Routing\Exception\MissingMandatoryParametersException:
Some mandatory parameters are missing ("identifier", "bundle") to generate a URL for route "shs.term_data". in
Drupal\Core\Routing\UrlGenerator->doGenerate() (Zeile 187 in web/core/lib/Drupal/Core/Routing/UrlGenerator.php).
Lösung (tmp):
Issue:
DatabaseExceptionWrapper while computing Views data for index Paragraphs demo index: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: INSERT INTO "cache_config"
Solution?
Neueste Kommentare
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:
PHP 8.3, APCu via PECL
PHP 8.3 extra packages (+ pecl, apcu)
apt update && apt upgrade
https : Secure Connection Failed
I get this error, when I visit https://solr.example.com:8983 :
Remove files and show the number of deleted files
Remove all files starting with 2024 in mydir123 and show the number of deleted files:
find mydir123 -name '2024*' -exec rm -vf {} \; | wc -l
find . -name '*' | xargs rm …
find . -name '*' | xargs rm -v
Maybe Patch
https://www.drupal.org/project/tablefield/issues/3397688