Das Leeren des Caches in Drupal kann auf verschiedene Weisen durchgeführt werden.
Drupal
Reset Drupal User Password via Drush + Commandline
drush user:password admin "mypassword123"
drush upwd admin "mypassword123"
use Markup in Drupal
use Drupal\Core\Render\Markup;
PHP Code
$html_code = " <p> ✕ </p> ";
$link_with_html = Link::createFromRoute( Markup::create( $html_code ), 'my_module')->toString();
Um eine einmalige Login Link zu erstellen (ohne Password-Reset Zwang) :
drush uli --name=MyUsername
Man hat ein Hosting + Basic_Auth aktiviert.
Nachdem Authentifizierung (Basic_Auth) zeigt Drupal eine Meldung statt Inhalt "Sie haben keine Zugriffsberechtigung für diese Seite. " (English: You do not have permission to access this page).
Die Lösung ist oft eine Deaktivierung von Basic_Auth Modul von Drupal:
drush pmu basic_auth -y
Composer Error:
In Filesystem.php line 284:
Could not delete /var/www/.../sites/default/default.services.yml
Was ist die Lösung ?
HTML Benachrichtigung durch Drupal Messenger:
\Drupal::messenger()->addStatus( [ '#markup' => '<div><b>BoldText</b> and other HTML </div> ' ] );
Seitennummerierung
- Vorherige Seite
- Seite 7
- Nächste Seite
Neueste Kommentare
Für Apache 2.4 + Plesk
Für Apache 2.4 + Plesk 18:
Config File: var/www/vhosts/system/test.example.com/conf/httpd.conf
Short Code w. Radio Buttons, Checkbox, Textarea, Email, Phone
$("input[type='radio']").each(function () {Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
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