Problem:
PHP Fatal error: Uncaught Error: Class "ZipArchive" not found in
Solution 1:
sudo apt install php-zip
sudo systemctl restart apache2Solution 2:
Edit: /etc/php/8.3/cli/php.ini
Activate extension=zip (by removing ;)
Problem:
PHP Fatal error: Uncaught Error: Class "ZipArchive" not found in
Solution 1:
sudo apt install php-zip
sudo systemctl restart apache2Solution 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?
Problem:
#drush cr
[error] Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException: No route found for the specified format html. Supported formats: csv, json. in Drupal\Core\Routing\RequestFormatRouteFilter->filter() (line 65 of /var/www/core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php).
Solution?
Error 1:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP versionError 2 (#mysql -u mydbuser1 -p mydb1 < db.sql):
Error:
Exception: Object of type stdClass cannot be printed. in Drupal\Core\Template\TwigExtension->escapeFilter() (Line 459 in /var/www/web/core/lib/Drupal/Core/Template/TwigExtension.php).
Solution
There may be a syntax error in your Twig code or you should change the order of fields in Drupal Views.
PHP-CLI umstellen auf PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/phpBash Script:
#!/bin/bash
IP1="1.2.3.1"
IP2="1.2.3.2"
IP3="1.2.3.3"
for i in $IP1 $IP2 $IP3
do
echo "$i"
done
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: