Drupal
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> ' ] );
Delete all duplicate URL Aliases ( langcode-path-alias ) :
Das Problem (Logs überfüllt mit):
Notice: Trying to access array offset on value of type null in Drupal\views\Plugin\views\display\EntityReference->query() (Zeile 195 in /var/www/web/core/modules/views/src/Plugin/views/display/EntityReference.php)
core\modules\views\src\Plugin\views\display\EntityReference.php (Line 156):
Lösung
Aktivieren Sie 2FA in Ihrem E-Mail-Konto und verwenden Sie das App-Passwort statt E-Mail-Passwort für die SMTP-Authentifizierung.
Seitennummerierung
- Vorherige Seite
- Seite 8
- 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
RAM ist 32 MB. Wie kann ich…
RAM ist 32 MB. Wie kann ich es erhöhen?
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-dev