- Step 1: Create a custom module
- Step 2: Controller & routing
Drupal/modules/custom/my_custom_module/src/Controller/MyCustomController2CreateMedia.php :
Drupal/modules/custom/my_custom_module/src/Controller/MyCustomController2CreateMedia.php :
File : schema.xml (OR schema_extra_types.xml):
I have created this file
web/modules/contrib/search_api_solr/src/Plugin/search_api/data_type/MyCustomTextDataType.php:
It works (if in synonyms_index.txt):
usa => united states of america
It does NOT work (if in synonyms_query.txt):
usa => united states of america
My config file (schema_extra_types.xml):
Problem:
Example: SnowBalld converts "sichern" to "sich".
List/content of stopwords_de.txt:
Search-keywords are not more than 64 char.
Error:
Find directories / files (incl. 1,2G etc):
du -sh /*/*/* 2>&1 | grep -E "[0-9]{1,}(,[0-9])?G\s+"
Simpler version with more than 10G:
Problem:
Command ws was not found. Drush was unable to query the database.
As a result, many commands are unavailable.
Re-run your command with --debug to see relevant log messages.
Solution?
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: