Solution:
drush sql:dump --skip-tables-list=watchdog,cache,cache_* | gzip -c > my-db-without-cache-watchdog-$(date +%Y-%m-%d-%H%M).sql.gz
Solution:
drush sql:dump --skip-tables-list=watchdog,cache,cache_* | gzip -c > my-db-without-cache-watchdog-$(date +%Y-%m-%d-%H%M).sql.gz
#drush sql:dump
Error:
mariadb-dump: not found
Solution?
WSL + PowerShell (100x, 30 seconds delay)
wsl
ping 12.34.56.789 -c 100 -i 30;
Solution (PowerShell, Windows):
Command:
rsync -az -e ssh --delete --progress --stats /var/mysource123 username123@remote-domain.tld:/var/mytarget123/
Values in handlers > remote post > advanced > custom_data ("/admin/structure/webform/manage/myform123/handlers"):
Problem:
PHP Fatal error: Uncaught Error: Class "ZipArchive" not found in
Solution 1:
sudo apt install php-zip
sudo systemctl restart apache2
Solution 2:
Edit: /etc/php/8.3/cli/php.ini
Activate extension=zip
(by removing ;)
Solution:
hostnamectl set-hostname myserver123.example.com
Problem:
The Drush launcher could not find a local Drush in your Drupal site
Solution?
GET:
$url_via_get = \Drupal::request()->query->get('url');
POST:
$url_via_post = \Drupal::request()->request->get('url');
GET [or] POST:
$url_via_get_or_port = \Drupal::request()->get('url');
Problem:
InvalidArgumentException: The controller for URI "/admin/flush" is not callable. in Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition() (Line 53 in /var/www/core/lib/Drupal/Core/Controller/ControllerResolver.php).
Solution?
Neueste Kommentare
Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
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: