JQuery (Developer Toolbar >> Console) :
$("input[type=text][required]").val('TEST');
$("input[type=email][required]").val('test@example.com');
$("input[type=text][name*='mail']").val('test@example.com');
JQuery (Developer Toolbar >> Console) :
$("input[type=text][required]").val('TEST');
$("input[type=email][required]").val('test@example.com');
$("input[type=text][name*='mail']").val('test@example.com');
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.
Seit Jahren verschickt unsere Website Emails via Drupal + SMTP + Gmail. Die Authentifizierung hat immer über MeineEmail@gmail.com und Passwort wunderbar funktioniert.
Seit zwei Wochen gibt es aber nur noch diese Fehlermeldung :
Fehler beim E-Mail-Versand
SMTP Error: Could not authenticate.Unser Passwort funktioniert und über Firefox, Chrome usw können wir uns auf Gmail ganz normal anmelden.
Was ist das Problem und wie ist die Lösung ?
Falls nötig:
apt-get install davfs2Remote Verzeichnis lokal einbinden
mount -t davfs https://cloud.example.com/remote.php/dav/files/myFiles/ my_local_dir/
Filename Sanitizer / Normalizer :
<?php
$str = "Text mit Ä Ö Ü ß é á ú î é ú í ó á ý ";
echo iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $str);
// Text mit A O U ss e a u i e u i o a y
?>
Create Taxonomy Term (in Vocabulary):
use Drupal\taxonomy\Entity\Term;
$new_term = Term::create([
'vid' => 'name_of_the_vocabulary',
'name' => 'name of the term',
]);
$new_term->enforceIsNew();
$new_term->save();
Laut Composer gibt es 8 Updates, darunter Drupal Core 9.3.14 :
1. Installieren : optipng / jpegoptim / cwebp
sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install imagemagick webp jpegoptim optipng
2. jpegoptim : mehrere Optimierungsmöglichkeiten
mail -s "Subject of my test e-mail" info@example.com <<< "Content of my test e-mail"oder
echo "Content of my test e-mail" | mail -s "Subject of my test e-mail" info@example.com
Eine Liste der aktuellen Kryptowährungen:
Neueste Kommentare
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
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem: